revert lex compile-without-a-warning hack

This commit is contained in:
nohar 2005-08-01 11:43:17 +00:00
parent b4deba4b8c
commit 69562cdabc
2 changed files with 4 additions and 2 deletions

View File

@ -6,12 +6,12 @@ AC_PROG_INSTALL
AC_PROG_YACC
AM_PROG_LEX
CFLAGS=-O2 -g -W -Wall -Werror
CFLAGS=-O2 -g -W -Wall
debug=false
AC_ARG_ENABLE(debug,
[ --enable-debug Turn on debugging],
[debug=true && CFLAGS="-O0 -g -W -Wall -Werror"])
[debug=true && CFLAGS="-O0 -g -W -Wall"])
AM_CONDITIONAL(DEBUG, test x$debug = xtrue)
oidentd=false

View File

@ -21,12 +21,14 @@ extern list_t *root_list;
void yyparse(void);
void free_conf(list_t*);
#if 0
/* SPANK ME WITH A SHOVEL */
static void yyunput(int c, char *buf);
void dummy_lex_FFS(void)
{
yyunput(0, NULL);
}
#endif
list_t *parse_conf(FILE *file)
{