Skip to content

Commit

Permalink
odhcpd: fix GCC 10 compilation
Browse files Browse the repository at this point in the history
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
  • Loading branch information
wongsyrone committed Jun 1, 2020
1 parent 9227af7 commit ebfa84b
Showing 1 changed file with 11 additions and 0 deletions.
@@ -0,0 +1,11 @@
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -133,7 +133,7 @@ enum odhcpd_assignment_flags {
OAF_DHCPV6_PD = (1 << 6),
};

-struct config {
+extern struct config {
bool legacy;
bool main_dhcpv4;
char *dhcp_cb;

0 comments on commit ebfa84b

Please sign in to comment.