diff options
| author | joerg <joerg@NetBSD.org> | 2011-09-16 16:05:58 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2011-09-16 16:05:58 +0000 |
| commit | 18f38a235fcf3676366e4c299614e4df0d67b0cd (patch) | |
| tree | bb5a38ec6cba49875a3f86cd2079ec508fbea03b /lib/libc/misc/stack_protector.c | |
| parent | 961418d6404882749e6dd6eda58143765193203f (diff) | |
Use __dead
Diffstat (limited to 'lib/libc/misc/stack_protector.c')
| -rw-r--r-- | lib/libc/misc/stack_protector.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/misc/stack_protector.c b/lib/libc/misc/stack_protector.c index 313982c83ab..bc3db6d25c1 100644 --- a/lib/libc/misc/stack_protector.c +++ b/lib/libc/misc/stack_protector.c @@ -1,4 +1,4 @@ -/* $NetBSD: stack_protector.c,v 1.5 2010/12/07 20:10:53 joerg Exp $ */ +/* $NetBSD: stack_protector.c,v 1.6 2011/09/16 16:05:59 joerg Exp $ */ /* $OpenBSD: stack_protector.c,v 1.10 2006/03/31 05:34:44 deraadt Exp $ */ /* @@ -28,7 +28,7 @@ * */ #include <sys/cdefs.h> -__RCSID("$NetBSD: stack_protector.c,v 1.5 2010/12/07 20:10:53 joerg Exp $"); +__RCSID("$NetBSD: stack_protector.c,v 1.6 2011/09/16 16:05:59 joerg Exp $"); #ifdef _LIBC #include "namespace.h" @@ -50,7 +50,7 @@ void xprintf(const char *fmt, ...); long __stack_chk_guard[8] = {0, 0, 0, 0, 0, 0, 0, 0}; static void __fail(const char *) __attribute__((__noreturn__)); -void __stack_chk_fail_local(void); +__dead void __stack_chk_fail_local(void); void __guard_setup(void); void |
