odhcpd: fix compilation with GCC10
authorRosen Penev <[email protected]>
Mon, 22 Jun 2020 04:37:36 +0000 (21:37 -0700)
committerHans Dedecker <[email protected]>
Tue, 23 Jun 2020 20:14:57 +0000 (22:14 +0200)
commit5da52992a3926b36e53d0a5d55955a6ccbc35872
treef5357789ae7d5f1ec798a286b688ca8c3c803200
parent5ce077026b991f49d96464587386f93d92f56385
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 <[email protected]>
Signed-off-by: Hans Dedecker <[email protected]>
src/odhcpd.c
src/odhcpd.h