patch-2.1.124 linux/arch/ppc/chrpboot/nonstdio.h
Next file: linux/arch/ppc/chrpboot/zlib.c
Previous file: linux/arch/ppc/chrpboot/main.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Wed Dec 31 16:00:00 1969
- Orig file:
v2.1.123/linux/arch/ppc/chrpboot/nonstdio.h
- Orig date:
Mon Jan 12 15:18:13 1998
diff -u --recursive --new-file v2.1.123/linux/arch/ppc/chrpboot/nonstdio.h linux/arch/ppc/chrpboot/nonstdio.h
@@ -1,18 +0,0 @@
-/*
- * Copyright (C) Paul Mackerras 1997.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- */
-typedef int FILE;
-extern FILE *stdin, *stdout;
-#define NULL ((void *)0)
-#define EOF (-1)
-#define fopen(n, m) NULL
-#define fflush(f) 0
-#define fclose(f) 0
-extern char *fgets();
-
-#define perror(s) printf("%s: no files!\n", (s))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov