diff options
author | wollman <wollman@FreeBSD.org> | 1994-08-18 22:36:09 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-08-18 22:36:09 +0000 |
commit | f9fc827448679cf1d41e56512c34521bf06ce37a (patch) | |
tree | 6b83fdf6eb5926c2f3d175a83d24bf5a2611a012 /sys/ddb/db_sym.h | |
parent | 44fc281f480837836035856eb0af25443f0d2146 (diff) | |
download | FreeBSD-src-f9fc827448679cf1d41e56512c34521bf06ce37a.zip FreeBSD-src-f9fc827448679cf1d41e56512c34521bf06ce37a.tar.gz |
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.
Diffstat (limited to 'sys/ddb/db_sym.h')
-rw-r--r-- | sys/ddb/db_sym.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/ddb/db_sym.h b/sys/ddb/db_sym.h index a256b79..d1090cf7 100644 --- a/sys/ddb/db_sym.h +++ b/sys/ddb/db_sym.h @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_sym.h,v 1.2 1993/10/16 16:47:27 rgrimes Exp $ + * $Id: db_sym.h,v 1.3 1993/11/07 17:39:25 wollman Exp $ */ #ifndef _DDB_DB_SYM_H_ @@ -77,9 +77,6 @@ extern boolean_t db_qualify_ambiguous_names; extern void db_add_symbol_table(); /* extend the list of symbol tables */ -extern int db_value_of_name(/* char*, db_expr_t* */); - /* find symbol value given name */ - extern db_sym_t db_search_symbol(/* db_expr_t, db_strategy_t, int* */); /* find symbol given value */ @@ -99,4 +96,7 @@ extern int db_eqname(/* char*, char*, char */); extern void db_printsym(/* db_expr_t, db_strategy_t */); /* print closest symbol to a value */ +extern boolean_t db_line_at_pc(int, int, int, int); +extern int X_db_sym_nymargs(db_symtab_t *, db_sym_t, int *, char **); + #endif /* _DDB_DB_SYM_H_ */ |