diff options
author | John Baldwin <jhb@FreeBSD.org> | 2006-11-17 16:37:35 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2006-11-17 16:37:35 +0000 |
commit | 5d346a567cddab5f1321c9748a8ebeb04c90befb (patch) | |
tree | 5c346e2b304e486c35ac36310a715ae0377c08c7 /sys/amd64/amd64/db_trace.c | |
parent | dbf989ea6ae009683f855e0a802002fafad2b723 (diff) | |
download | src-5d346a567cddab5f1321c9748a8ebeb04c90befb.tar.gz src-5d346a567cddab5f1321c9748a8ebeb04c90befb.zip |
A few more style fixes.
Notes
Notes:
svn path=/head/; revision=164357
Diffstat (limited to 'sys/amd64/amd64/db_trace.c')
-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 57f6e482b7e1..f6b033e686bd 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; { |