Module Name:    src
Committed By:   jruoho
Date:           Wed Dec 22 19:43:33 UTC 2010

Modified Files:
        src/include/ssp: ssp.h

Log Message:
Use __dead instead of __attribute__((__noreturn__)) directly.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/include/ssp/ssp.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/include/ssp/ssp.h
diff -u src/include/ssp/ssp.h:1.3 src/include/ssp/ssp.h:1.4
--- src/include/ssp/ssp.h:1.3	Mon Apr 28 20:22:54 2008
+++ src/include/ssp/ssp.h	Wed Dec 22 19:43:33 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: ssp.h,v 1.3 2008/04/28 20:22:54 martin Exp $	*/
+/*	$NetBSD: ssp.h,v 1.4 2010/12/22 19:43:33 jruoho Exp $	*/
 
 /*-
  * Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
 	if (bos(__buf) != (size_t)-1 && __len > bos(__buf)) \
 		__chk_fail(); \
 	return fun call; \
-} 
+}
 
 #define __ssp_redirect(rtype, fun, args, call) \
     __ssp_redirect_raw(rtype, fun, args, call, __ssp_bos)
@@ -66,8 +66,8 @@
     __ssp_redirect_raw(rtype, fun, args, call, __ssp_bos0)
 
 __BEGIN_DECLS
-void __stack_chk_fail(void) __attribute__((__noreturn__));
-void __chk_fail(void) __attribute__((__noreturn__));
+void __stack_chk_fail(void) __dead;
+void __chk_fail(void) __dead;
 __END_DECLS
 
 #endif /* _SSP_SSP_H_ */

Reply via email to