forked from Minki/linux
decd300b30
Make the bootheader for ppc64 independent from kernel and libc headers. * add -nostdinc -isystem $gccincludes to not include libc headers * declare all functions in header files, also the stuff from string.S * declare some functions static * use stddef.h to get size_t (hopefully ok) * remove ppc32-types.h, only elf.h used the __NN types With further modifications by Paul Mackerras and Stephen Rothwell. Signed-off-by: Olaf Hering <olh@suse.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
17 lines
376 B
C
17 lines
376 B
C
#ifndef _PPC_BOOT_STDIO_H_
|
|
#define _PPC_BOOT_STDIO_H_
|
|
|
|
extern int printf(const char *fmt, ...);
|
|
|
|
extern int sprintf(char *buf, const char *fmt, ...);
|
|
|
|
extern int vsprintf(char *buf, const char *fmt, va_list args);
|
|
|
|
extern int putc(int c, void *f);
|
|
extern int putchar(int c);
|
|
extern int getchar(void);
|
|
|
|
extern int fputs(char *str, void *f);
|
|
|
|
#endif /* _PPC_BOOT_STDIO_H_ */
|