]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/powerpc/boot/stdio.h
[POWERPC] boot: Use a common zImage rule
[mirror_ubuntu-artful-kernel.git] / arch / powerpc / boot / stdio.h
CommitLineData
decd300b
OH
1#ifndef _PPC_BOOT_STDIO_H_
2#define _PPC_BOOT_STDIO_H_
3
b2c5f619
MG
4#include <stdarg.h>
5
6#define ENOMEM 12 /* Out of Memory */
7#define EINVAL 22 /* Invalid argument */
8#define ENOSPC 28 /* No space left on device */
9
decd300b
OH
10extern int printf(const char *fmt, ...);
11
b2c5f619
MG
12#define fprintf(fmt, args...) printf(args)
13
decd300b
OH
14extern int sprintf(char *buf, const char *fmt, ...);
15
16extern int vsprintf(char *buf, const char *fmt, va_list args);
17
decd300b 18#endif /* _PPC_BOOT_STDIO_H_ */