diff options
author | bde <bde@FreeBSD.org> | 1995-11-24 14:13:42 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-11-24 14:13:42 +0000 |
commit | ed3ff9247ca7a0b2d76d22401a54a3e82ce0f2e9 (patch) | |
tree | f5a995a3d9175676e570f12a2bcb1bad0e1b976b /sys/ddb/db_sym.c | |
parent | c14aa7ae4820b9e50a391cdb2e5ed91d81933ccd (diff) | |
download | FreeBSD-src-ed3ff9247ca7a0b2d76d22401a54a3e82ce0f2e9.zip FreeBSD-src-ed3ff9247ca7a0b2d76d22401a54a3e82ce0f2e9.tar.gz |
Completed function declarations and/or added prototypes and/or #includes
to get the prototypes.
Changed some `int's to `boolean_t's. boolean_t's are ints so they are
hard to distinguish from ints.
Converted function headers to old-style. ddb is written in K&R1 C
except where we broke it.
Diffstat (limited to 'sys/ddb/db_sym.c')
-rw-r--r-- | sys/ddb/db_sym.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/sys/ddb/db_sym.c b/sys/ddb/db_sym.c index 81c7b4d..64dc5d5 100644 --- a/sys/ddb/db_sym.c +++ b/sys/ddb/db_sym.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_sym.c,v 1.8 1995/05/22 13:07:12 davidg Exp $ + * $Id: db_sym.c,v 1.9 1995/05/30 07:57:10 rgrimes Exp $ */ /* @@ -37,14 +37,6 @@ #include <ddb/db_sym.h> /* - * We import from the symbol-table dependent routines: - */ -extern db_sym_t X_db_lookup(); -extern db_sym_t X_db_search_symbol(); -extern boolean_t X_db_line_at_pc(); -extern void X_db_symbol_values(); - -/* * Multiple symbol tables */ #ifndef MAXNOSYMTABS @@ -56,7 +48,9 @@ int db_nsymtab = 0; db_symtab_t *db_last_symtab; -db_sym_t db_lookup(); /* forward */ +extern db_sym_t db_lookup __P(( char *symstr)); +static char *db_qualify __P((db_sym_t sym, char *symtabname)); +extern boolean_t db_symbol_is_ambiguous __P((db_sym_t sym)); /* * Add symbol table, with given name, to list of symbol tables. |