diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-27 19:00:49 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-27 19:00:49 +0000 |
commit | 153f359f37030efa351afc646b7c20ec86c43ec3 (patch) | |
tree | 7b67d66dc20193bb5e4d5f537705271a8e01d2d7 /sys/ddb/db_aout.c | |
parent | a6a88d5c196f23f81a6ab6cd6c895263496f9c8d (diff) | |
download | FreeBSD-src-153f359f37030efa351afc646b7c20ec86c43ec3.zip FreeBSD-src-153f359f37030efa351afc646b7c20ec86c43ec3.tar.gz |
Changes to support -Wall, -Wcast-qual. Had to make physical code changes
in db_lookup() to avoid the *cp = 0 / *cp = ':' combo ( temporary
nul-terminate-then-restore-original ) on a const char * string.
Diffstat (limited to 'sys/ddb/db_aout.c')
-rw-r--r-- | sys/ddb/db_aout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_aout.c b/sys/ddb/db_aout.c index eeca60e..41b3779 100644 --- a/sys/ddb/db_aout.c +++ b/sys/ddb/db_aout.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_aout.c,v 1.21 1998/06/28 00:55:02 dfr Exp $ + * $Id: db_aout.c,v 1.22 1998/10/09 23:29:44 peter Exp $ */ /* @@ -123,7 +123,7 @@ X_db_sym_init(symtab, esymtab, name) db_sym_t X_db_lookup(stab, symstr) db_symtab_t *stab; - char * symstr; + const char * symstr; { register struct nlist *sp, *ep; @@ -201,7 +201,7 @@ void X_db_symbol_values(symtab, sym, namep, valuep) db_symtab_t *symtab; db_sym_t sym; - char **namep; + const char **namep; db_expr_t *valuep; { register struct nlist *sp; |