repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
etc/services - sync with NetBSD-8
[minix.git]
/
external
/
bsd
/
flex
/
dist
/
lib
/
malloc.c
blob
d4c605f8840b868cfa1e4d05c166535eb64262f8
1
#include <config.h>
2
#undef malloc
3
4
#include <sys/types.h>
5
6
void
*
malloc
();
7
8
/* Allocate an N-byte block of memory from the heap.
9
If N is zero, allocate a 1-byte block. */
10
11
void
*
12
rpl_malloc
(
size_t
n
)
13
{
14
if
(
n
==
0
)
15
n
=
1
;
16
return
malloc
(
n
);
17
}