diff --git a/usr.bin/tr/tr.c b/usr.bin/tr/tr.c index be8598a..611ca22 100644 --- a/usr.bin/tr/tr.c +++ b/usr.bin/tr/tr.c @@ -40,7 +40,7 @@ * * Added prototyped headers, surrounded by #ifndef __STDC__ * - * $Id: tr.c,v 1.2 1997/09/24 06:23:13 gdr Exp $ + * $Id: tr.c,v 1.3 1997/10/03 04:15:03 gdr Exp $ */ @@ -112,10 +112,9 @@ static void usage __P((void)); /* Interface to check on how much stack space a C program uses. */ #if defined(__GNO__) && defined(__STACK_CHECK__) -#ifndef _STDLIB_H_ -#include -#endif +#ifndef _GNO_GNO_H_ #include +#endif static void report_stack(void) { fprintf(stderr,"\n ==> %d stack bytes used <== \n", _endStackCheck()); @@ -331,6 +330,11 @@ usage(void) #include #endif +#ifdef __ORCAC__ +/* ORCA/C cannot handle debugging with variable args */ +#pragma debug 0 +#endif + void #if __STDC__ err(const char *fmt, ...)