projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
import gdb-1999-08-02 snapshot
[binutils-gdb.git]
/
readline
/
examples
/
rl.c
diff --git
a/readline/examples/rl.c
b/readline/examples/rl.c
index ccddd0fb752aaf2478eccb3ff4c5ba739d9394df..17a63434f24f38ba404fc5a015bb05aca85d329e 100644
(file)
--- 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], '/');