Avoid a lot of malloc/free traffic
[openbios/afaerber.git] / include / sysinclude.h
bloba8b828b4fe4fbade82f9e436c417ce0ce5ae6b08
1 #ifndef __SYSINCLUDE_H
2 #define __SYSINCLUDE_H
4 #ifdef BOOTSTRAP
5 #include "asm/types.h"
6 #include <stdio.h>
7 #include <stdlib.h>
8 #include <string.h>
9 #else /* BOOTSTRAP */
10 #include "libc/stdlib.h"
11 #include "libc/string.h"
12 #endif /* BOOTSTRAP */
14 extern int printk( const char *fmt, ... ) \
15 __attribute__ ((format (printf, 1, 2)));
16 #ifdef BOOTSTRAP
17 #define printk printf
18 #endif
20 #endif /* __SYSINCLUDE_H */