aboutsummaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-22 02:06:58 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-22 02:06:58 +0000
commit67289b625ef9a57c2f08578dc9ac827a14a3883f (patch)
treed757bbdb4b11c9b4c136d99e350c31e7041b2ca1 /readline
parentd575ddc0ef874292672001dc58848befa5325115 (diff)
downloadfsf-binutils-gdb-67289b625ef9a57c2f08578dc9ac827a14a3883f.zip
fsf-binutils-gdb-67289b625ef9a57c2f08578dc9ac827a14a3883f.tar.gz
fsf-binutils-gdb-67289b625ef9a57c2f08578dc9ac827a14a3883f.tar.bz2
* chardefs.h, tilde.c: Just declare strrchr rather than trying to
include a system header.
Diffstat (limited to 'readline')
-rw-r--r--readline/ChangeLog5
-rw-r--r--readline/chardefs.h8
2 files changed, 13 insertions, 0 deletions
diff --git a/readline/ChangeLog b/readline/ChangeLog
index f6803b9..4b80796 100644
--- a/readline/ChangeLog
+++ b/readline/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jan 21 17:31:26 1994 Jim Kingdon (kingdon@lisa.cygnus.com)
+
+ * chardefs.h, tilde.c: Just declare strrchr rather than trying to
+ include a system header.
+
Fri Jan 21 14:40:43 1994 Fred Fish (fnf@cygnus.com)
* Makefile.in (distclean, realclean): Expand local-distclean
diff --git a/readline/chardefs.h b/readline/chardefs.h
index 241567e..f7df250 100644
--- a/readline/chardefs.h
+++ b/readline/chardefs.h
@@ -4,11 +4,19 @@
#include <ctype.h>
+#if 0
+/* Getting the correct definition of HAVE_STRING_H is harder than just
+ declaring them ourselves. CYGNUS LOCAL. */
#if defined (HAVE_STRING_H)
# include <string.h>
#else
# include <strings.h>
#endif /* HAVE_STRING_H */
+#else /* not 0 */
+/* We don't worry about declaring functions where we don't use the return
+ value (e.g. strcpy) or which return int. */
+extern char *strrchr ();
+#endif /* not 0 */
#ifndef savestring
#if 0