summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_watch.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-24 13:53:05 +0000
committerbde <bde@FreeBSD.org>1995-11-24 13:53:05 +0000
commitc14aa7ae4820b9e50a391cdb2e5ed91d81933ccd (patch)
tree9b9a343f5650653a2c35073534d44bcf4fc7473c /sys/ddb/db_watch.h
parentba625bb515e1769c43ed119ece85c666a475ae0d (diff)
downloadFreeBSD-src-c14aa7ae4820b9e50a391cdb2e5ed91d81933ccd.zip
FreeBSD-src-c14aa7ae4820b9e50a391cdb2e5ed91d81933ccd.tar.gz
Completed function declarations and/or added prototypes.
Removed `extern' from prototypes. Sorted prototypes. Uniformized idempotency ifdefs.
Diffstat (limited to 'sys/ddb/db_watch.h')
-rw-r--r--sys/ddb/db_watch.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/sys/ddb/db_watch.h b/sys/ddb/db_watch.h
index 61cb7c1..aed0a32 100644
--- a/sys/ddb/db_watch.h
+++ b/sys/ddb/db_watch.h
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_watch.h,v 1.3 1994/08/18 22:34:29 wollman Exp $
+ * $Id: db_watch.h,v 1.4 1995/05/30 07:57:21 rgrimes Exp $
*/
/*
@@ -31,8 +31,8 @@
* Date: 10/90
*/
-#ifndef _DDB_DB_WATCH_
-#define _DDB_DB_WATCH_
+#ifndef _DDB_DB_WATCH_H_
+#define _DDB_DB_WATCH_H_
#include <vm/vm_map.h>
#include <machine/db_machdep.h>
@@ -48,13 +48,11 @@ typedef struct db_watchpoint {
struct db_watchpoint *link; /* link in in-use or free chain */
} *db_watchpoint_t;
-extern boolean_t db_find_watchpoint(/* vm_map_t map, db_addr_t addr,
- db_regs_t *regs */);
+void db_delete_watchpoint __P((vm_map_t map, db_addr_t addr));
+boolean_t db_find_watchpoint __P((vm_map_t map, db_addr_t addr,
+ db_regs_t *regs));
+void db_list_watchpoints __P((void));
+void db_set_watchpoint __P((vm_map_t map, db_addr_t addr,
+ vm_size_t size));
-
-
-extern void db_set_watchpoint(/* vm_map_t map, db_addr_t addr, vm_size_t size */);
-extern void db_delete_watchpoint(/* vm_map_t map, db_addr_t addr */);
-extern void db_list_watchpoints();
-
-#endif _DDB_DB_WATCH_
+#endif /* !_DDB_DB_WATCH_H_ */
OpenPOWER on IntegriCloud