diff --git a/bin/cat/cat.c b/bin/cat/cat.c index fcbc687..0d297ec 100644 --- a/bin/cat/cat.c +++ b/bin/cat/cat.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cat.c,v 1.2 1997/09/26 06:13:46 gdr Exp $ + * $Id: cat.c,v 1.3 1997/10/03 03:59:41 gdr Exp $ */ /* @@ -73,9 +73,6 @@ static char const sccsid[] = "@(#)cat.c 8.2 (Berkeley) 4/27/95"; #include #include #include -#if defined(__GNO__) && defined(__STACK_CHECK__) -#include -#endif int bflag, eflag, nflag, sflag, tflag, vflag; int rval; @@ -88,8 +85,8 @@ void raw_cat __P((int)); /* Interface to check on how much stack space a C program uses. */ #if defined(__GNO__) && defined(__STACK_CHECK__) -#ifndef _STDLIB_H_ -#include +#ifndef _GNO_GNO_H_ +#include #endif static void report_stack(void) { diff --git a/bin/head/head.c b/bin/head/head.c index b0b694d..8a45de6 100644 --- a/bin/head/head.c +++ b/bin/head/head.c @@ -39,6 +39,8 @@ * Changes not related to compiler are replaced using #ifndef __GNO__ * * Added prototyped headers, surrounded by #ifndef __STDC__ + * + * $Id: head.c,v 1.3 1997/10/03 03:58:18 gdr Exp $ */ #ifndef __GNO__ @@ -53,7 +55,7 @@ static const char copyright[] = static char sccsid[] = "@(#)head.c 8.2 (Berkeley) 5/4/95"; #endif static const char rcsid[] = - "$Id: head.c,v 1.2 1997/09/26 06:20:06 gdr Exp $"; + "$Id: head.c,v 1.3 1997/10/03 03:58:18 gdr Exp $"; #endif /* not lint */ #endif @@ -81,10 +83,9 @@ int eval; /* 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());