summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/ddb/db_aout.c6
-rw-r--r--sys/ddb/db_extern.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/ddb/db_aout.c b/sys/ddb/db_aout.c
index c8b8c009b66..ec4f589c066 100644
--- a/sys/ddb/db_aout.c
+++ b/sys/ddb/db_aout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_aout.c,v 1.18 1997/06/12 03:46:57 mickey Exp $ */
+/* $OpenBSD: db_aout.c,v 1.19 1997/07/08 10:48:32 niklas Exp $ */
/* $NetBSD: db_aout.c,v 1.14 1996/02/27 20:54:43 gwr Exp $ */
/*
@@ -68,7 +68,7 @@ int db_symtab[SYMTAB_SPACE/sizeof(int)] = { 0, 1 };
*/
void
X_db_sym_init(symtab, esymtab, name)
- int *symtab; /* pointer to start of symbol table */
+ long *symtab; /* pointer to start of symbol table */
char *esymtab; /* pointer to end of string table,
for checking - rounded up to integer
boundary */
@@ -437,7 +437,7 @@ ddb_init()
db_sym_init();
if (esym > (char *)&end) {
- X_db_sym_init((int *)&end, esym, "bsd");
+ X_db_sym_init((long *)&end, esym, "bsd");
}
#else
db_sym_init();
diff --git a/sys/ddb/db_extern.h b/sys/ddb/db_extern.h
index 145f6254e8d..00e318509ab 100644
--- a/sys/ddb/db_extern.h
+++ b/sys/ddb/db_extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_extern.h,v 1.8 1997/05/29 03:28:44 mickey Exp $ */
+/* $OpenBSD: db_extern.h,v 1.9 1997/07/08 10:48:32 niklas Exp $ */
/* $NetBSD: db_extern.h,v 1.1 1996/02/05 01:57:00 christos Exp $ */
/*
@@ -33,7 +33,7 @@
#define _DDB_DB_EXTERN_H_
/* db_aout.c */
-void X_db_sym_init __P((int *, char *, char *));
+void X_db_sym_init __P((long *, char *, char *));
size_t X_db_nsyms __P((db_symtab_t));
db_sym_t X_db_isym __P((db_symtab_t, size_t));
db_sym_t X_db_lookup __P((db_symtab_t, char *));