]> git.sur5r.net Git - cc65/commitdiff
Marked abort() and longjmp() with __attribute__((noreturn)).
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 19 Oct 2009 09:29:09 +0000 (09:29 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 19 Oct 2009 09:29:09 +0000 (09:29 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4374 b7a2c559-68d2-44c3-8de9-860c34a00d81

include/setjmp.h
include/stdlib.h

index 945312ab969da5c05c127324135b9c36362b5234..0befe81638c863f9317a1c099a2caf19c9691f1a 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2000 Ullrich von Bassewitz                                       */
-/*               Wacholderweg 14                                             */
-/*               D-70597 Stuttgart                                           */
-/* EMail:        uz@musoftware.de                                            */
+/* (C) 1998-2009, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
@@ -44,11 +44,11 @@ typedef char jmp_buf [5];
 
 int __fastcall__ _setjmp (jmp_buf buf);
 #define setjmp _setjmp         /* ISO insists on a macro */
-void __fastcall__ longjmp (jmp_buf buf, int retval);
+void __fastcall__ longjmp (jmp_buf buf, int retval) __attribute__((noreturn));
 
 
 
-/* End of stddef.h */
+/* End of setjmp.h */
 #endif
 
 
index e938e8a3a0af64e7e3a54b38e443c8fdef21f799..6ca7bbe2685299a6173462cc95f443757846b294 100644 (file)
@@ -100,7 +100,7 @@ void __fastcall__ srand (unsigned seed);
 void _randomize (void);         /* Non-standard */
 
 /* Other standard stuff */
-void abort (void);
+void abort (void) __attribute__ ((noreturn));
 int __fastcall__ abs (int val);
 long __fastcall__ labs (long val);
 int __fastcall__ atoi (const char* s);