fix int vs STRLEN issue
[p5sagit/p5-mst-13.2.git] / x2p / a2p.c
index eb3e8ae..b512cf9 100644 (file)
--- a/x2p/a2p.c
+++ b/x2p/a2p.c
@@ -2074,7 +2074,7 @@ YYSTYPE yyvs[YYSTACKSIZE];
 #define yystacksize YYSTACKSIZE
 #line 401 "a2p.y"
 
-int yyparse _((void));
+int yyparse (void);
 
 #include "a2py.c"
 #line 2081 "y.tab.c"
@@ -2087,8 +2087,9 @@ yyparse()
     register int yym, yyn, yystate;
 #if YYDEBUG
     register char *yys;
+#ifndef __cplusplus
     extern char *getenv();
-
+#endif
     if (yys = getenv("YYDEBUG"))
     {
         yyn = *yys;