odhcpd: fix compilation with GCC10
[oweals/odhcpd.git] / src / odhcpd.h
index 072a148727bb3d9d11a3667ed36afca2aa15294f..09013c4b094b76f1555f6bbe7e951c746821329c 100644 (file)
@@ -44,6 +44,7 @@
 struct interface;
 struct nl_sock;
 extern struct vlist_tree leases;
+extern struct config config;
 
 struct odhcpd_event {
        struct uloop_fd uloop;
@@ -139,7 +140,7 @@ struct config {
        char *dhcp_cb;
        char *dhcp_statefile;
        int log_level;
-} config;
+};
 
 
 struct lease {