summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/lib/sl/lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/heimdal/lib/sl/lex.l')
-rw-r--r--crypto/heimdal/lib/sl/lex.l15
1 files changed, 9 insertions, 6 deletions
diff --git a/crypto/heimdal/lib/sl/lex.l b/crypto/heimdal/lib/sl/lex.l
index b7c1c44..c83e5d1 100644
--- a/crypto/heimdal/lib/sl/lex.l
+++ b/crypto/heimdal/lib/sl/lex.l
@@ -1,6 +1,6 @@
%{
/*
- * Copyright (c) 1998 Kungliga Tekniska Högskolan
+ * Copyright (c) 1998 - 2000 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -32,14 +32,17 @@
* SUCH DAMAGE.
*/
+#undef ECHO
+
#include "make_cmds.h"
#include "parse.h"
-RCSID("$Id: lex.l,v 1.3 1999/12/02 16:58:55 joda Exp $");
+RCSID("$Id: lex.l,v 1.5 2000/12/05 09:21:46 joda Exp $");
static unsigned lineno = 1;
-void error_message(char *, ...);
-int getstring(void);
+static int getstring(void);
+
+#define YY_NO_UNPUT
%}
@@ -66,7 +69,7 @@ yywrap ()
}
#endif
-int
+static int
getstring(void)
{
char x[128];
@@ -102,7 +105,7 @@ getstring(void)
}
void
-error_message (char *format, ...)
+error_message (const char *format, ...)
{
va_list args;
OpenPOWER on IntegriCloud