svn commit: r254669 - stable/9/usr.bin/yacc

Glen Barber gjb at FreeBSD.org
Thu Aug 22 18:41:28 UTC 2013


Author: gjb
Date: Thu Aug 22 18:41:28 2013
New Revision: 254669
URL: http://svnweb.freebsd.org/changeset/base/254669

Log:
  Revert r254626 to fix the build.

Modified:
  stable/9/usr.bin/yacc/skeleton.c

Modified: stable/9/usr.bin/yacc/skeleton.c
==============================================================================
--- stable/9/usr.bin/yacc/skeleton.c	Thu Aug 22 18:26:45 2013	(r254668)
+++ stable/9/usr.bin/yacc/skeleton.c	Thu Aug 22 18:41:28 2013	(r254669)
@@ -196,10 +196,6 @@ const char *body[] =
     "#endif	/* ANSI-C/C++ */",
     "#endif	/* ! YYPARSE_PARAM */",
     "",
-    "#if defined(__cplusplus) || __STDC__",
-    "extern int yyparse (YYPARSE_PARAM_ARG);",
-    "#endif	/* ANSI-C/C++ */",
-    "",
     "int",
     "yyparse (YYPARSE_PARAM_ARG)",
     "    YYPARSE_PARAM_DECL",


More information about the svn-src-stable-9 mailing list