summaryrefslogtreecommitdiff
path: root/readline/examples/rl.c
diff options
context:
space:
mode:
Diffstat (limited to 'readline/examples/rl.c')
-rw-r--r--readline/examples/rl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/readline/examples/rl.c b/readline/examples/rl.c
index ccddd0fb752..17a63434f24 100644
--- a/readline/examples/rl.c
+++ b/readline/examples/rl.c
@@ -42,6 +42,7 @@ set_deftext ()
}
}
+static void
usage()
{
fprintf (stderr, "%s: usage: %s [-p prompt] [-u unit] [-d default]\n",
@@ -54,7 +55,7 @@ main (argc, argv)
{
char *temp, *prompt;
struct stat sb;
- int done, opt, fd;
+ int opt, fd;
FILE *ifp;
progname = strrchr(argv[0], '/');