aboutsummaryrefslogtreecommitdiff
path: root/sys/ddb
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-06-30 23:49:17 +0000
committerBruce Evans <bde@FreeBSD.org>1997-06-30 23:49:17 +0000
commitb2b392c442aa6d01120ae73bdf2aa01c5a8b6205 (patch)
tree9f6123246312c827bc5c0bfa020d0af382c858a7 /sys/ddb
parented2be8eabe10e0e9e5eba4b4ecf61bc3126d8426 (diff)
downloadsrc-b2b392c442aa6d01120ae73bdf2aa01c5a8b6205.tar.gz
src-b2b392c442aa6d01120ae73bdf2aa01c5a8b6205.zip
Don't depend on gcc's feature of interpreting `int foo(c) char c; ...'
as `int foo(char c) ...' if there is a bogus prototype `int foo(char c);' in scope.
Notes
Notes: svn path=/head/; revision=27121
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_sym.c4
-rw-r--r--sys/ddb/db_sym.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/ddb/db_sym.c b/sys/ddb/db_sym.c
index f8628beddaca..7a83f7c07509 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$
+ * $Id: db_sym.c,v 1.18 1997/02/22 09:28:29 peter Exp $
*/
/*
@@ -102,7 +102,7 @@ boolean_t
db_eqname(src, dst, c)
char *src;
char *dst;
- char c;
+ int c;
{
if (!strcmp(src, dst))
return (TRUE);
diff --git a/sys/ddb/db_sym.h b/sys/ddb/db_sym.h
index 70e552b98167..d3419e406140 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$
+ * $Id: db_sym.h,v 1.12 1997/02/22 09:28:30 peter Exp $
*/
#ifndef _DDB_DB_SYM_H_
@@ -91,7 +91,7 @@ void db_symbol_values __P((db_sym_t, char **, db_expr_t *));
db_symbol_values(db_search_symbol(val,DB_STGY_XTRN,offp),namep,0)
/* ditto, but no locals */
-int db_eqname __P((char *, char *, char));
+int db_eqname __P((char *, char *, int));
/* strcmp, modulo leading char */
void db_printsym __P((db_expr_t, db_strategy_t));