diff options
author | kib <kib@FreeBSD.org> | 2010-05-26 15:39:43 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-05-26 15:39:43 +0000 |
commit | 4f460f2f9a60e4e057d4da1218e2469e303e94b9 (patch) | |
tree | d1460feb5cd1f8f252f4a9351a0875352aec1344 /sys/kern | |
parent | 67c0f38a6d4837444dec17f1aeaec26448a414b1 (diff) | |
download | FreeBSD-src-4f460f2f9a60e4e057d4da1218e2469e303e94b9.zip FreeBSD-src-4f460f2f9a60e4e057d4da1218e2469e303e94b9.tar.gz |
Allow to use syscallname(9) outside subr_trap.c.
MFC after: 1 month
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/subr_trap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index 4cc56cc..81e27e5 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -260,8 +260,7 @@ ast(struct trapframe *framep) } #ifdef HAVE_SYSCALL_ARGS_DEF -static const char *syscallname(struct proc *p, u_int code) __unused; -static const char * +const char * syscallname(struct proc *p, u_int code) { static const char unknown[] = "unknown"; |