diff options
author | phk <phk@FreeBSD.org> | 1995-11-29 10:25:50 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-11-29 10:25:50 +0000 |
commit | 6056f81916a007badc44587b720c1bc308265cae (patch) | |
tree | 04a837dcdadd73fa6cc99eaeb902219e812b9833 /sys/ddb/db_lex.c | |
parent | 051ce4c479c45d09eeaf7abcee957e6330406458 (diff) | |
download | FreeBSD-src-6056f81916a007badc44587b720c1bc308265cae.zip FreeBSD-src-6056f81916a007badc44587b720c1bc308265cae.tar.gz |
Staticized and '#ifdef notused' stuff we don't use.
Diffstat (limited to 'sys/ddb/db_lex.c')
-rw-r--r-- | sys/ddb/db_lex.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/sys/ddb/db_lex.c b/sys/ddb/db_lex.c index 9f1b7fb..36abdd2 100644 --- a/sys/ddb/db_lex.c +++ b/sys/ddb/db_lex.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_lex.c,v 1.6 1995/05/30 07:57:00 rgrimes Exp $ + * $Id: db_lex.c,v 1.7 1995/11/24 14:13:37 bde Exp $ */ /* @@ -42,6 +42,9 @@ char db_line[120]; char * db_lp, *db_endlp; static int db_lex __P((void)); +static void db_flush_line __P((void)); +static int db_read_char __P((void)); +static void db_unread_char __P((int)); int db_read_line() @@ -56,16 +59,16 @@ db_read_line() return (i); } -void +static void db_flush_line() { db_lp = db_line; db_endlp = db_line; } -int db_look_char = 0; +static int db_look_char = 0; -int +static int db_read_char() { int c; @@ -81,14 +84,14 @@ db_read_char() return (c); } -void +static void db_unread_char(c) int c; { db_look_char = c; } -int db_look_token = 0; +static int db_look_token = 0; void db_unread_token(t) |