projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a7997c
)
no declaration of free needed
author
Matthias Braun
<matze@braunis.de>
Mon, 18 Feb 2008 14:19:15 +0000
(14:19 +0000)
committer
Matthias Braun
<matze@braunis.de>
Mon, 18 Feb 2008 14:19:15 +0000
(14:19 +0000)
[r17768]
include/libfirm/adt/xmalloc.h
patch
|
blob
|
history
diff --git
a/include/libfirm/adt/xmalloc.h
b/include/libfirm/adt/xmalloc.h
index
deb29f5
..
63ffff0
100644
(file)
--- a/
include/libfirm/adt/xmalloc.h
+++ b/
include/libfirm/adt/xmalloc.h
@@
-29,6
+29,7
@@
#define FIRM_ADT_XMALLOC_H
#include <stddef.h>
+#include <stdlib.h>
/* xmalloc() & friends. */
@@
-36,7
+37,6
@@
void *xmalloc(size_t size);
void *xcalloc(size_t num, size_t size);
void *xrealloc(void *ptr, size_t size);
char *xstrdup(const char *str);
-void free(void *ptr);
#define xfree(ptr) free(ptr)