odhcpd: fix compilation with GCC10 openwrt-19.07
authorRosen Penev <rosenp@gmail.com>
Mon, 22 Jun 2020 04:37:36 +0000 (21:37 -0700)
committerHans Dedecker <dedeckeh@gmail.com>
Tue, 23 Jun 2020 20:09:44 +0000 (22:09 +0200)
commit059844e4399be41ed5be413a45f7597ce105b5b4
treeb9a8b587c77dd56c548c2a9abbcbe0cebc6e0801
parent49e4949c6dee4a7e528e9bc51e9813228c3c16d8
odhcpd: fix compilation with GCC10

GCC10 mandates the C++ one definition rule, which breaks on multiple
definitions of config. Add the appropriate extern declaration.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/odhcpd.c
src/odhcpd.h