(error_message, yylex): add prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8467 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -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).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -45,6 +45,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
#include <roken.h>
|
||||||
|
|
||||||
extern char *filename;
|
extern char *filename;
|
||||||
extern char *table_name;
|
extern char *table_name;
|
||||||
extern int numerror;
|
extern int numerror;
|
||||||
@@ -66,4 +68,9 @@ struct string_list {
|
|||||||
|
|
||||||
void add_command(char*, char*, struct string_list*, unsigned);
|
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__ */
|
#endif /* __MAKE_CMDS_H__ */
|
||||||
|
Reference in New Issue
Block a user