summaryrefslogtreecommitdiffstats
path: root/sys/ddb
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-08-20 03:49:02 +0000
committerdg <dg@FreeBSD.org>1994-08-20 03:49:02 +0000
commitc97639b9230d9c3f9032d935d7892c5b513c8814 (patch)
treef43f29ef28a2342dd7be499cf286557b75ae9f56 /sys/ddb
parent255b8baf81cdff10b66cd0893b98779e34305ff1 (diff)
downloadFreeBSD-src-c97639b9230d9c3f9032d935d7892c5b513c8814.zip
FreeBSD-src-c97639b9230d9c3f9032d935d7892c5b513c8814.tar.gz
1) cleaned up after Garrett - fixed more redundant declarations, changed
use of timeout_t -> timeout_func_t in aha1542 and aha1742 drivers. 2) fix a bug in the portalfs that was uncovered by better prototyping - specifically, the time must be converted from timeval to timespec before storing in va_atime. 3) fixed/added some miscellaneous prototypes
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_sym.c10
-rw-r--r--sys/ddb/db_sym.h4
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/ddb/db_sym.c b/sys/ddb/db_sym.c
index 0c07bd8..5588c77 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: db_sym.c,v 1.4 1994/01/03 07:54:10 davidg Exp $
+ * $Id: db_sym.c,v 1.5 1994/08/13 03:49:23 wollman Exp $
*/
/*
@@ -315,10 +315,10 @@ db_printsym(off, strategy)
boolean_t
db_line_at_pc( sym, filename, linenum, pc)
- int sym;
- int filename;
- int linenum;
- int pc;
+ db_sym_t sym;
+ char **filename;
+ int *linenum;
+ db_expr_t pc;
{
return X_db_line_at_pc( db_last_symtab, sym, filename, linenum, pc);
}
diff --git a/sys/ddb/db_sym.h b/sys/ddb/db_sym.h
index d1090cf7..9b610c5 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: db_sym.h,v 1.3 1993/11/07 17:39:25 wollman Exp $
+ * $Id: db_sym.h,v 1.4 1994/08/18 22:34:26 wollman Exp $
*/
#ifndef _DDB_DB_SYM_H_
@@ -96,7 +96,7 @@ extern int db_eqname(/* char*, char*, char */);
extern void db_printsym(/* db_expr_t, db_strategy_t */);
/* print closest symbol to a value */
-extern boolean_t db_line_at_pc(int, int, int, int);
+extern boolean_t db_line_at_pc(db_sym_t, char **, int *, db_expr_t);
extern int X_db_sym_nymargs(db_symtab_t *, db_sym_t, int *, char **);
#endif /* _DDB_DB_SYM_H_ */
OpenPOWER on IntegriCloud