diff options
| author | Kris Kennaway <kris@FreeBSD.org> | 2000-11-26 11:07:45 +0000 |
|---|---|---|
| committer | Kris Kennaway <kris@FreeBSD.org> | 2000-11-26 11:07:45 +0000 |
| commit | cca0db7e7e562e3ea44e569252ff752c24e498ff (patch) | |
| tree | f21035bde64222a0f714dd91d66babe6f6b7481c /lib/libedit | |
| parent | 82b449c6a30021e839b9cf7846b1453de35f66f2 (diff) | |
Notes
Diffstat (limited to 'lib/libedit')
| -rw-r--r-- | lib/libedit/key.c | 4 | ||||
| -rw-r--r-- | lib/libedit/term.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libedit/key.c b/lib/libedit/key.c index 3da65d56af3e..24e56a821c82 100644 --- a/lib/libedit/key.c +++ b/lib/libedit/key.c @@ -36,6 +36,8 @@ #if !defined(lint) && !defined(SCCSID) static char sccsid[] = "@(#)key.c 8.1 (Berkeley) 6/4/93"; +static const char rcsid[] = + "$FreeBSD$"; #endif /* not lint && not SCCSID */ /* @@ -601,7 +603,7 @@ key_kprint(el, key, val, ntype) { el_bindings_t *fp; char unparsbuf[EL_BUFSIZ]; - static char *fmt = "%-15s-> %s\n"; + static const char fmt[] = "%-15s-> %s\n"; if (val != NULL) switch (ntype) { diff --git a/lib/libedit/term.c b/lib/libedit/term.c index 18248f5300a4..65fd1a15669c 100644 --- a/lib/libedit/term.c +++ b/lib/libedit/term.c @@ -1222,7 +1222,7 @@ term_echotc(el, argc, argv) int arg_need, arg_cols, arg_rows; int verbose = 0, silent = 0; char *area; - static char *fmts = "%s\n", *fmtd = "%d\n"; + static const char fmts[] = "%s\n", fmtd[] = "%d\n"; struct termcapstr *t; char buf[TC_BUFSIZE]; |
