diff options
author | wollman <wollman@FreeBSD.org> | 1994-08-18 22:36:09 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-08-18 22:36:09 +0000 |
commit | f9fc827448679cf1d41e56512c34521bf06ce37a (patch) | |
tree | 6b83fdf6eb5926c2f3d175a83d24bf5a2611a012 /sys/ddb/db_watch.h | |
parent | 44fc281f480837836035856eb0af25443f0d2146 (diff) | |
download | FreeBSD-src-f9fc827448679cf1d41e56512c34521bf06ce37a.zip FreeBSD-src-f9fc827448679cf1d41e56512c34521bf06ce37a.tar.gz |
Fix up some sloppy coding practices:
- Delete redundant declarations.
- Add -Wredundant-declarations to Makefile.i386 so they don't come back.
- Delete sloppy COMMON-style declarations of uninitialized data in
header files.
- Add a few prototypes.
- Clean up warnings resulting from the above.
NB: ioconf.c will still generate a redundant-declaration warning, which
is unavoidable unless somebody volunteers to make `config' smarter.
Diffstat (limited to 'sys/ddb/db_watch.h')
-rw-r--r-- | sys/ddb/db_watch.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_watch.h b/sys/ddb/db_watch.h index f8932de..d564ad2 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$ + * $Id: db_watch.h,v 1.2 1993/10/16 16:47:33 rgrimes Exp $ */ /* @@ -50,8 +50,8 @@ typedef struct db_watchpoint { extern boolean_t db_find_watchpoint(/* vm_map_t map, db_addr_t addr, db_regs_t *regs */); -extern void db_set_watchpoints(); -extern void db_clear_watchpoints(); + + 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 */); |