summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-09 20:06:30 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-09 20:06:30 +0000
commitc1fe19d4c1db610692365472a90f4661e48449c1 (patch)
treed0b0219ffca3c4c4256f55c4aea4513e43d6aecd /include/stdlib.h
parent9efafb8bbc7408b04643dcd53825d971577b4d9d (diff)
Bug ugly formatting update
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index b1ae61d06..08af451f0 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -58,21 +58,20 @@ extern void srand __P ((unsigned int seed));
/* Memory management functions */
-extern __ptr_t alloca __P ((size_t __size));
extern __ptr_t calloc __P ((size_t, size_t));
extern __ptr_t malloc __P ((size_t));
extern __ptr_t realloc __P ((__ptr_t, size_t));
extern void free __P ((__ptr_t));
#ifdef DEBUG_MALLOC
-extern __ptr_t malloc_dbg __P ((size_t, char* func, char* file, int line));
extern __ptr_t calloc_dbg __P ((size_t, size_t, char* func, char* file, int line));
-extern void free_dbg __P ((__ptr_t, char* func, char* file, int line));
+extern __ptr_t malloc_dbg __P ((size_t, char* func, char* file, int line));
extern __ptr_t realloc_dbg __P ((__ptr_t, size_t, char* func, char* file, int line));
-#define malloc(x) malloc_dbg((x),__FUNCTION__,__FILE__,__LINE__)
+extern void free_dbg __P ((__ptr_t, char* func, char* file, int line));
#define calloc(x,y) calloc_dbg((x),(y),__FUNCTION__,__FILE__,__LINE__)
-#define free(x) free_dbg((x),__FUNCTION__,__FILE__,__LINE__)
+#define malloc(x) malloc_dbg((x),__FUNCTION__,__FILE__,__LINE__)
#define realloc(x) realloc((x),__FUNCTION__,__FILE__,__LINE__)
+#define free(x) free_dbg((x),__FUNCTION__,__FILE__,__LINE__)
#endif