From 8c5cc88bbba51aaeb20adda9715dbcbc2ef7dbb0 Mon Sep 17 00:00:00 2001 From: gdr Date: Mon, 28 Jul 1997 00:20:37 +0000 Subject: [PATCH] - don't use the _gno_ prefix for sys_nerr or sys_errlist any more - changed some formatting in the source file --- lib/libc/tests/stdio/perror.c | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/lib/libc/tests/stdio/perror.c b/lib/libc/tests/stdio/perror.c index b21b3fa..6955a5e 100644 --- a/lib/libc/tests/stdio/perror.c +++ b/lib/libc/tests/stdio/perror.c @@ -1,32 +1,28 @@ /* * Test by Devin Reade * - * $Id: perror.c,v 1.1 1997/02/28 05:12:57 gdr Exp $ + * $Id: perror.c,v 1.2 1997/07/28 00:20:37 gdr Exp $ */ #pragma debug 25 -/* for now ... */ -#define sys_nerr _gno_sys_nerr -#define sys_errlist _gno_sys_errlist - #include #include int main (int argc, char **argv) { - int i; - + int i; + fprintf(stderr, "ELAST is %d\n", ELAST); if (argc > 1) { - for (i=0; i