diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1994-08-18 22:36:09 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1994-08-18 22:36:09 +0000 |
commit | f23b4c91c4fb94e1bb6aeb4e7747f4ccf7767b41 (patch) | |
tree | 6b83fdf6eb5926c2f3d175a83d24bf5a2611a012 /sys/ddb/db_lex.h | |
parent | fa074287a4952da8528838c7812d02678e4c7205 (diff) | |
download | src-f23b4c91c4fb94e1bb6aeb4e7747f4ccf7767b41.tar.gz src-f23b4c91c4fb94e1bb6aeb4e7747f4ccf7767b41.zip |
Fix up some sloppy coding practices:
- Delete redundant declarations.
- Add -Wredundant-declarations to Makefile.i386 so they don't come back.
- Delete sloppy COMMON-style declarations of uninitialized data in
header files.
- Add a few prototypes.
- Clean up warnings resulting from the above.
NB: ioconf.c will still generate a redundant-declaration warning, which
is unavoidable unless somebody volunteers to make `config' smarter.
Notes
Notes:
svn path=/head/; revision=2112
Diffstat (limited to 'sys/ddb/db_lex.h')
-rw-r--r-- | sys/ddb/db_lex.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/ddb/db_lex.h b/sys/ddb/db_lex.h index e2f224eccd16..db1d2b9f20ce 100644 --- a/sys/ddb/db_lex.h +++ b/sys/ddb/db_lex.h @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_lex.h,v 1.2 1993/10/16 16:47:19 rgrimes Exp $ + * $Id: db_lex.h,v 1.3 1993/11/07 17:39:23 wollman Exp $ */ #ifndef _DDB_DB_LEX_H_ @@ -47,7 +47,6 @@ extern void db_flush_lex(); extern int db_tok_number; #define TOK_STRING_SIZE 120 extern char db_tok_string[TOK_STRING_SIZE]; -extern int db_radix; #define tEOF (-1) #define tEOL 1 |