-/* $OpenBSD: conflex.c,v 1.38 2017/04/09 20:44:13 krw Exp $ */
+/* $OpenBSD: conflex.c,v 1.39 2017/06/10 17:56:29 krw Exp $ */
/* Lexical scanner for dhclient config file. */
prev_line = line2;
token_line = cur_line;
tlname = name;
-
- warnings_occurred = 0;
}
static int
-/* $OpenBSD: dhcpd.h,v 1.171 2017/04/18 13:59:09 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.172 2017/06/10 17:56:29 krw Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
int peek_token(char **, FILE *);
/* parse.c */
-extern int warnings_occurred;
void skip_to_semi(FILE *);
int parse_semi(FILE *);
char *parse_string(FILE *, unsigned int *);
-/* $OpenBSD: parse.c,v 1.50 2017/04/09 20:44:13 krw Exp $ */
+/* $OpenBSD: parse.c,v 1.51 2017/06/10 17:56:29 krw Exp $ */
/* Common parser code for dhcpd and dhclient. */
return (guess);
}
-int warnings_occurred;
-
void
parse_warn(char *msg)
{
}
}
log_warnx("%s^", spaces);
-
- warnings_occurred = 1;
}