/* Memory management */
void* __fastcall__ malloc (size_t size);
void* __fastcall__ calloc (size_t count, size_t size);
-void* realloc (void* block, size_t size);
+void* __fastcall__ realloc (void* block, size_t size);
void __fastcall__ free (void* block);
-#ifndef __STRICT_ANSI__
void __fastcall__ _hadd (void* mem, size_t size); /* Non-standard */
-#endif
/* Random numbers */
-#define RAND_MAX 0x7FFF
+#define RAND_MAX 0x7FFF
int rand (void);
void __fastcall__ srand (unsigned seed);
+void _randomize (void); /* Non-standard */
/* Other standard stuff */
void abort (void);
int (*compare) (const void*, const void*));
/* Non-ANSI functions */
-#ifndef __STRICT_ANSI__
void __fastcall__ _swap (void* p, void* q, size_t size);
+#ifndef __STRICT_ANSI__
char* __fastcall__ itoa (int val, char* buf, int radix);
char* __fastcall__ utoa (unsigned val, char* buf, int radix);
char* __fastcall__ ltoa (long val, char* buf, int radix);