aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2007-08-04 03:27:18 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2007-08-04 03:27:18 +0000
commit6399baf43e2111f97e86e0aa3289c9775b3f0dca (patch)
treec34b11ee1f562eefd417db691f398d0370e32578 /tools
parentc9e64720b83aef4a13278101fc13e4e747012334 (diff)
1989 was quite a while ago. We use function prototypes extensively;
don't worry about YY_PROTO, which isn't defined with the newer shinier versions of Flex. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22450 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tools')
-rwxr-xr-xtools/runlex.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/runlex.sh b/tools/runlex.sh
index e08dae0860..15c8f18d63 100755
--- a/tools/runlex.sh
+++ b/tools/runlex.sh
@@ -153,7 +153,7 @@ cat <<EOF >$header_file
/* This is generated by runlex.sh. Do not edit it. */
$prefixline
#ifndef YY_DECL
-#define YY_DECL int yylex YY_PROTO(( void ))
+#define YY_DECL int yylex(void)
#endif
YY_DECL;
EOF