summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1994-11-05 17:09:27 +0000
committerVern Paxson <vern@ee.lbl.gov>1994-11-05 17:09:27 +0000
commitea9179eea2fbec44fb2f3cac4798d8482dbb7777 (patch)
tree317fb1ab1208461144165a4c27532e2f7764ac63 /parse.y
parent18038c66ab36f624aa92ba6d5546e9c5dedc649b (diff)
alloca, lint tweaks
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y6
1 files changed, 5 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 9d447b0..388b42f 100644
--- a/parse.y
+++ b/parse.y
@@ -48,7 +48,11 @@
#ifdef _AIX
#pragma alloca
#else /* not _AIX */
+#ifdef __hpux
+void *alloca ();
+#else /* not __hpux */
char *alloca ();
+#endif /* not __hpux */
#endif /* not _AIX */
#endif /* not HAVE_ALLOCA_H */
#endif /* not __GNUC__ */
@@ -63,7 +67,7 @@ int pat, scnum, eps, headcnt, trailcnt, anyccl, lastchar, i, rulelen;
int trlcontxt, xcluflg, cclsorted, varlength, variable_trail_rule;
int *scon_stk;
-int scon_stk_ptr, max_scon_stk;
+int scon_stk_ptr;
Char clower();
char *copy_string();