summaryrefslogtreecommitdiffstats
path: root/sys/ddb
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-06-30 23:49:17 +0000
committerbde <bde@FreeBSD.org>1997-06-30 23:49:17 +0000
commit276d810752f550173403a661a1e4d1207bf4b48e (patch)
tree143b4f0715995b3264f700e93d932f3a81c987e9 /sys/ddb
parent17d2759930ce9cfcd5f346db3189864ee61a9126 (diff)
downloadFreeBSD-src-276d810752f550173403a661a1e4d1207bf4b48e.zip
FreeBSD-src-276d810752f550173403a661a1e4d1207bf4b48e.tar.gz
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.
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 f8628be..7a83f7c 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 70e552b..d3419e4 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));
OpenPOWER on IntegriCloud