Magellan Linux

Contents of /trunk/mkinitrd-magellan/klibc/usr/include/malloc.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (show annotations) (download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 9 months ago) by niro
File MIME type: text/plain
File size: 463 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd

1 /*
2 * malloc.h
3 *
4 * Apparently people haven't caught on to use <stdlib.h>, which is the
5 * standard place for this crap since the 1980's...
6 */
7
8 #ifndef _MALLOC_H
9 #define _MALLOC_H
10
11 #include <klibc/extern.h>
12 #include <klibc/compiler.h>
13 #include <stddef.h>
14
15 __extern void free(void *);
16
17 __extern __mallocfunc void *malloc(size_t);
18 __extern __mallocfunc void *calloc(size_t, size_t);
19 __extern __mallocfunc void *realloc(void *, size_t);
20
21 #endif /* _MALLOC_H */