diff options
author | jhb <jhb@FreeBSD.org> | 2006-11-17 16:37:35 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-11-17 16:37:35 +0000 |
commit | 375950dbc5a4531f929313b2bc3d3bf4eeddc893 (patch) | |
tree | 5c346e2b304e486c35ac36310a715ae0377c08c7 /sys/amd64 | |
parent | 5da2fd53cf2d5e1bbb6e88a0ebbbf7b24b4133bc (diff) | |
download | FreeBSD-src-375950dbc5a4531f929313b2bc3d3bf4eeddc893.zip FreeBSD-src-375950dbc5a4531f929313b2bc3d3bf4eeddc893.tar.gz |
A few more style fixes.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/db_trace.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/amd64/amd64/db_trace.c b/sys/amd64/amd64/db_trace.c index 57f6e48..f6b033e 100644 --- a/sys/amd64/amd64/db_trace.c +++ b/sys/amd64/amd64/db_trace.c @@ -200,7 +200,7 @@ static int db_numargs(struct amd64_frame *); static void db_print_stack_entry(const char *, int, char **, long *, db_addr_t); static void decode_syscall(int, struct thread *); -static char * watchtype_str(int type); +static const char * watchtype_str(int type); int amd64_set_watch(int watchnum, unsigned long watchaddr, int size, int access, struct dbreg *d); int amd64_clr_watch(int watchnum, struct dbreg *d); @@ -648,8 +648,8 @@ db_md_clr_watchpoint(addr, size) db_expr_t addr; db_expr_t size; { - int i; struct dbreg d; + int i; fill_dbregs(NULL, &d); @@ -668,8 +668,7 @@ db_md_clr_watchpoint(addr, size) } -static -char * +static const char * watchtype_str(type) int type; { |