diff options
Diffstat (limited to 'arch/ppc/boot/include/nonstdio.h')
-rw-r--r-- | arch/ppc/boot/include/nonstdio.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/arch/ppc/boot/include/nonstdio.h b/arch/ppc/boot/include/nonstdio.h deleted file mode 100644 index f2b5526faef3..000000000000 --- a/arch/ppc/boot/include/nonstdio.h +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) Paul Mackerras 1997. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or | ||
5 | * modify it under the terms of the GNU General Public License | ||
6 | * as published by the Free Software Foundation; either version | ||
7 | * 2 of the License, or (at your option) any later version. | ||
8 | * | ||
9 | * This is sort of a catchall for I/O related functions. Stuff that | ||
10 | * wouldn't be in 'stdio.h' normally is here, and it's 'nonstdio.h' | ||
11 | * for a reason. -- Tom | ||
12 | */ | ||
13 | typedef int FILE; | ||
14 | extern FILE *stdin, *stdout; | ||
15 | #define NULL ((void *)0) | ||
16 | #define EOF (-1) | ||
17 | #define fopen(n, m) NULL | ||
18 | #define fflush(f) 0 | ||
19 | #define fclose(f) 0 | ||
20 | #define perror(s) printf("%s: no files!\n", (s)) | ||
21 | |||
22 | extern int getc(void); | ||
23 | extern int printf(const char *format, ...); | ||
24 | extern int sprintf(char *str, const char *format, ...); | ||
25 | extern int tstc(void); | ||
26 | extern void exit(void); | ||
27 | extern void outb(int port, unsigned char val); | ||
28 | extern void putc(const char c); | ||
29 | extern void puthex(unsigned long val); | ||
30 | extern void puts(const char *); | ||
31 | extern void udelay(long delay); | ||
32 | extern unsigned char inb(int port); | ||
33 | extern void board_isa_init(void); | ||
34 | extern void ISA_init(unsigned long base); | ||