mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
Marked abort() and longjmp() with __attribute__((noreturn)).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4374 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
a5a9700d19
commit
918171231c
@ -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
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user