- memory.c, memory.h: fixed header inclusions
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Sun, 11 Jan 2015 12:58:17 +0000 (12:58 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Sun, 11 Jan 2015 12:58:17 +0000 (12:58 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@5349 82007160-df01-0410-b94d-b575c5fd34c7

src/memory.c
src/memory.h

index f1c34fe8bd45e4a5544250cbb2effd29d22d8fca..377dc72fad744506955396af41aed43fe95b01b4 100644 (file)
  *
  */
 
-#include <malloc.h>
+#include <stdlib.h>
 #include <assert.h>
 #include <string.h>
-#include "malloc.h"
+
+#include "memory.h"
 
 
 /* xcalloc
index c777064b343393d9d2c0edee04e33a4299486e03..bf3db20eeb83f5e36b1c0788183e2933b9e25f0b 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef MALLOC_H
 #define MALLOC_H
 
-#include <stdlib.h>
-
 #define MyFree(X) _MyFree((void **) &X)
 
 extern void *xcalloc(size_t bytes);