summaryrefslogtreecommitdiffstats
path: root/contrib/libreadline/examples/rl.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1998-04-28 06:22:20 +0000
committerache <ache@FreeBSD.org>1998-04-28 06:22:20 +0000
commit57352a1b33380d0d7c25addd55cf6bdc669428f5 (patch)
treeb3097da91d394235f2559b6ac811dce3269b8e83 /contrib/libreadline/examples/rl.c
parent36e092b93856079d50a364e20b5d2fe61e007a65 (diff)
parent27ef633cd3f7fd5fb6cb033edd2c1747a6e59acb (diff)
downloadFreeBSD-src-57352a1b33380d0d7c25addd55cf6bdc669428f5.zip
FreeBSD-src-57352a1b33380d0d7c25addd55cf6bdc669428f5.tar.gz
This commit was generated by cvs2svn to compensate for changes in r35486,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/libreadline/examples/rl.c')
-rw-r--r--contrib/libreadline/examples/rl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/libreadline/examples/rl.c b/contrib/libreadline/examples/rl.c
index 6c2f343..ccddd0f 100644
--- a/contrib/libreadline/examples/rl.c
+++ b/contrib/libreadline/examples/rl.c
@@ -12,7 +12,7 @@
#define READLINE_LIBRARY
#if defined (HAVE_CONFIG_H)
-#include <config.h>
+# include <config.h>
#endif
#include <stdio.h>
@@ -24,7 +24,9 @@
extern int optind;
extern char *optarg;
+#if !defined (strchr) && !defined (__STDC__)
extern char *strrchr();
+#endif
static char *progname;
static char *deftext;
OpenPOWER on IntegriCloud