From 85673a013586d1b9276c8ef4c6b4d166567ffb79 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Tue, 27 Jun 2000 02:36:56 +0000 Subject: [PATCH] (error_message, yylex): add prototypes git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8467 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/sl/make_cmds.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/sl/make_cmds.h b/lib/sl/make_cmds.h index 4d6e22477..03fba2c65 100644 --- a/lib/sl/make_cmds.h +++ b/lib/sl/make_cmds.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998 Kungliga Tekniska Högskolan + * Copyright (c) 1998 - 2000 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -45,6 +45,8 @@ #include #include +#include + extern char *filename; extern char *table_name; extern int numerror; @@ -66,4 +68,9 @@ struct string_list { void add_command(char*, char*, struct string_list*, unsigned); +void error_message(const char *, ...) + __attribute__ ((format (printf, 1,2))); + +int yylex (void); + #endif /* __MAKE_CMDS_H__ */