Holger Lubitz
|
6f61e254dc
|
use malloc attribute
|
17 years ago |
Michael Brown
|
058b200529
|
Renamed _calloc() to zalloc(), ready to be used as a standalone function.
|
17 years ago |
Michael Brown
|
4256b3338a
|
Split random number generation out into core/random.c, and create the
correct prototypes for srandom(), rand() and srand().
|
18 years ago |
Michael Brown
|
b02a564297
|
Add missing prerequisite include
|
18 years ago |
Michael Brown
|
35776f481c
|
Don't always zero memory in malloc(). This saves around 2us on a
full-length PKB allocation.
|
18 years ago |
Michael Brown
|
73e3e02367
|
Fix prototype of random() and move to stdlib.h
|
18 years ago |
Michael Brown
|
f3d817d512
|
Added execv() and system().
|
18 years ago |
Michael Brown
|
3e0286dee3
|
Move ANSI C standard prototypes to stdlib.h; leave the gPXE-specific
function prototypes (e.g. malloc_dma()) in malloc.h.
|
18 years ago |
Michael Brown
|
8df7e74990
|
Fix up prototype of strtoul() to match POSIX.
|
18 years ago |
Michael Brown
|
70567c51a2
|
Moved strtoul prototype into stdlib.h for consistency
|
19 years ago |