mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-22 01:49:35 +00:00
Fixed gcc10 build
This commit is contained in:
parent
c2147767a5
commit
c666652e10
@ -1,3 +1,8 @@
|
||||
*4 [build] fdupont
|
||||
|
||||
Fixed build by gcc10.
|
||||
(Gitlab #116)
|
||||
|
||||
* 3 [doc] fdupont
|
||||
|
||||
New documentation including this file.
|
||||
@ -14,5 +19,6 @@
|
||||
|
||||
LEGEND
|
||||
* [bug] Bug fix.
|
||||
* [build] Build change.
|
||||
* [doc] Update to documentation.
|
||||
* [func] New feature.
|
||||
|
@ -47,6 +47,9 @@ usage(const char *sfmt, const char *sarg) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
enum resolve resolve;
|
||||
struct parses parses;
|
||||
|
||||
int local_family = 0;
|
||||
char *hook_library_path = NULL;
|
||||
char *input_file = NULL;
|
||||
|
@ -35,7 +35,9 @@ enum resolve {
|
||||
perform = 0, /* resolve */
|
||||
fatal, /* raise a fatal error */
|
||||
pass /* pass the string wth a warning */
|
||||
} resolve;
|
||||
};
|
||||
|
||||
extern enum resolve resolve;
|
||||
|
||||
/* From includes/dhcp.h */
|
||||
|
||||
@ -58,8 +60,6 @@ extern int local_family;
|
||||
|
||||
/* A parsing context. */
|
||||
|
||||
TAILQ_HEAD(parses, parse) parses;
|
||||
|
||||
struct parse {
|
||||
int lexline;
|
||||
int lexchar;
|
||||
@ -120,6 +120,8 @@ struct parse {
|
||||
|
||||
};
|
||||
|
||||
extern TAILQ_HEAD(parses, parse) parses;
|
||||
|
||||
#define PARAMETER 0
|
||||
#define TOPLEVEL 1
|
||||
#define ROOT_GROUP 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user