Commit c666652e authored by Francis Dupont's avatar Francis Dupont

Fixed gcc10 build

parent c2147767
*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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment