Subject: Re: kern/1968: sys/ddb: Clean up code, handle most -Wall problems, move extern to .h files
To: None <erik@sockdev.uni-c.dk>
From: Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>
List: netbsd-bugs
Date: 01/23/1996 10:35:15
Excerpts from netbsd: 18-Jan-96 kern/1968: sys/ddb: Clean u.. Erik
Bertelsen@arhpc214. (45417)
[ddb/db_aout.c]
> *** 62,68 ****
> /*
> * Find the symbol table and strings; tell ddb about them.
> */
> ! X_db_sym_init(symtab, esymtab, name)
> int * symtab; /* pointer to start of symbol table */
> char * esymtab; /* pointer to end of string table,
> for checking - rounded up to integer
> --- 68,74 ----
> /*
> * Find the symbol table and strings; tell ddb about them.
> */
> ! static void X_db_sym_init(symtab, esymtab, name)
> int * symtab; /* pointer to start of symbol table */
> char * esymtab; /* pointer to end of string table,
> for checking - rounded up to integer
> ***************
Not static! It is needed by loadable modules (if you attach their
symbol table).
best regards
Matthias Drochner