]> git.sur5r.net Git - cc65/blobdiff - include/stdlib.h
Ignore a few more "harmless" functions when optimizing.
[cc65] / include / stdlib.h
index e938e8a3a0af64e7e3a54b38e443c8fdef21f799..57e7f6166c1ebb467d845e1836fd2a6958137157 100644 (file)
@@ -6,7 +6,7 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2009, Ullrich von Bassewitz                                      */
+/* (C) 1998-2011, Ullrich von Bassewitz                                      */
 /*                Roemerstrasse 52                                           */
 /*                D-70794 Filderstadt                                        */
 /* EMail:         uz@cc65.org                                                */
@@ -86,10 +86,10 @@ void __fastcall__ _heapadd (void* mem, size_t size);
 size_t __fastcall__ _heapblocksize (const void* block);
 /* Return the size of an allocated block */
 
-size_t __fastcall__ _heapmemavail (void);
+size_t _heapmemavail (void);
 /* Return the total free heap space */
 
-size_t __fastcall__ _heapmaxavail (void);
+size_t _heapmaxavail (void);
 /* Return the size of the largest free block on the heap */
 
 
@@ -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);