From cd3d0ca3421d8080e206cc14ca74947fcf77c76e Mon Sep 17 00:00:00 2001 From: gdr Date: Fri, 26 Sep 1997 06:22:49 +0000 Subject: [PATCH] - added ident string - changed to use v2.0.6 stack routines --- bin/tail/tail.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bin/tail/tail.c b/bin/tail/tail.c index 2c461e3..acf4916 100644 --- a/bin/tail/tail.c +++ b/bin/tail/tail.c @@ -43,6 +43,8 @@ * (e.g., did not implement -r option) * * Added prototyped headers, surrounded by #ifndef __STDC__ + * + * $Id: tail.c,v 1.2 1997/09/26 06:22:49 gdr Exp $ */ #ifndef __GNO__ /* Don't need what strings for GNO */ @@ -78,11 +80,10 @@ static void usage __P((void)); #ifndef _STDLIB_H_ #include #endif -extern void begin_stack_check(void); -extern int end_stack_check(void); +#include static void report_stack(void) { - fprintf(stderr,"\n ==> %d stack bytes used <== \n", end_stack_check()); + fprintf(stderr,"\n ==> %d stack bytes used <== \n", _endStackCheck()); } #endif @@ -105,7 +106,7 @@ main(int argc, char *p; #if defined(__GNO__) && defined(__STACK_CHECK__) - begin_stack_check(); + _beginStackCheck(); atexit(report_stack); #endif /*