OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a018fc5
)
Kill the needless '#if 1'
author
Eric Andersen
<andersen@codepoet.org>
Thu, 23 Jan 2003 09:06:36 +0000
(09:06 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Thu, 23 Jan 2003 09:06:36 +0000
(09:06 -0000)
libc/stdlib/malloc-930716/malloc.c
patch
|
blob
|
history
diff --git
a/libc/stdlib/malloc-930716/malloc.c
b/libc/stdlib/malloc-930716/malloc.c
index
db93311
..
2467da4
100644
(file)
--- a/
libc/stdlib/malloc-930716/malloc.c
+++ b/
libc/stdlib/malloc-930716/malloc.c
@@
-160,11
+160,9
@@
void * __malloc_unlocked (size_t size)
size_t log, block, blocks, i, lastblocks, start;
struct list *next;
-#if 1
/* Some programs will call malloc (0). Lets be strict and return NULL */
if (size == 0)
return NULL;
-#endif
if (size < sizeof (struct list))
size = sizeof (struct list);