Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/misc -delete prototypes which are already in <ssp/s...
details: https://anonhg.NetBSD.org/src/rev/04f42acf0916
branches: trunk
changeset: 749101:04f42acf0916
user: drochner <drochner%NetBSD.org@localhost>
date: Tue Nov 17 20:46:20 2009 +0000
description:
-delete prototypes which are already in <ssp/ssp.h>
-make __fail __noreturn__
diffstat:
lib/libc/misc/stack_protector.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r 8815932eba5a -r 04f42acf0916 lib/libc/misc/stack_protector.c
--- a/lib/libc/misc/stack_protector.c Tue Nov 17 20:44:26 2009 +0000
+++ b/lib/libc/misc/stack_protector.c Tue Nov 17 20:46:20 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stack_protector.c,v 1.3 2009/01/30 23:21:02 ad Exp $ */
+/* $NetBSD: stack_protector.c,v 1.4 2009/11/17 20:46:20 drochner 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.3 2009/01/30 23:21:02 ad Exp $");
+__RCSID("$NetBSD: stack_protector.c,v 1.4 2009/11/17 20:46:20 drochner Exp $");
#ifdef _LIBC
#include "namespace.h"
@@ -49,9 +49,7 @@
#endif
long __stack_chk_guard[8] = {0, 0, 0, 0, 0, 0, 0, 0};
-static void __fail(const char *);
-void __stack_chk_fail(void);
-void __chk_fail(void);
+static void __fail(const char *) __attribute__((__noreturn__));
void __stack_chk_fail_local(void);
void __guard_setup(void);
Home |
Main Index |
Thread Index |
Old Index