From 31da8353e2c89540c346d2183e52ecc00784cb6a Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 18 Apr 1999 13:37:49 +0000 Subject: [PATCH] Clean up the skeleton code a little. There was a #ifdef to avoid stdlib.h unless on C++. However, we already included it above, so there was no point using the redundant declarations instead. --- usr.bin/yacc/skeleton.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/usr.bin/yacc/skeleton.c b/usr.bin/yacc/skeleton.c index c4f4a5a82501..9423875b0bbd 100644 --- a/usr.bin/yacc/skeleton.c +++ b/usr.bin/yacc/skeleton.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: skeleton.c,v 1.13 1997/04/28 03:36:13 steve Exp $ + * $Id: skeleton.c,v 1.14 1997/04/29 03:07:45 steve Exp $ */ #ifndef lint @@ -68,14 +68,6 @@ char *banner[] = "#define yyclearin (yychar=(YYEMPTY))", "#define yyerrok (yyerrflag=0)", "#define YYRECOVERING (yyerrflag!=0)", - "#if defined(c_plusplus) || defined(__cplusplus)", - /* Declaring standard functions is too painful for C++. */ - "#include ", - "#else", - /* Declare standard functions to avoid depending on . */ - "extern char *getenv();", - "extern void *realloc();", - "#endif", #if 0 "extern int yylex();", "extern int yyparse();",