]> git.sur5r.net Git - cc65/blobdiff - include/stdlib.h
Working
[cc65] / include / stdlib.h
index 0acf77b73c4fab590bdce7cdabafb9b6e87f1c6d..32184f1faeb5af6ee58dbd72e61a85ddd8d769df 100644 (file)
@@ -6,7 +6,7 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2000 Ullrich von Bassewitz                                       */
+/* (C) 1998-2002 Ullrich von Bassewitz                                       */
 /*               Wacholderweg 14                                             */
 /*               D-70597 Stuttgart                                           */
 /* EMail:        uz@musoftware.de                                            */
@@ -50,7 +50,7 @@
 
 /* Memory management */
 void* __fastcall__ malloc (size_t size);
-void* calloc (size_t count, size_t size);
+void* __fastcall__ calloc (size_t count, size_t size);
 void* realloc (void* block, size_t size);
 void __fastcall__ free (void* block);
 #ifndef __STRICT_ANSI__
@@ -66,8 +66,8 @@ void __fastcall__ srand (unsigned seed);
 void abort (void);
 int __fastcall__ abs (int val);
 long __fastcall__ labs (long val);
-int __fastcall__ atoi (char* s);
-long __fastcall__ atol (char* s);
+int __fastcall__ atoi (const char* s);
+long __fastcall__ atol (const char* s);
 int __fastcall__ atexit (void (*exitfunc) (void));
 void* bsearch (const void* key, const void* base, size_t n,
               size_t size, int (*cmp) (const void*, const void*));