net: lldp: Allow generation of documentation

No need to hide the symbols in the header file if CONFIG_NET_LLDP
is not enabled. This also allows the documentation to be generated
properly.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2019-02-26 09:56:06 +02:00 committed by Anas Nashif
commit 52dc50dc6b
6 changed files with 27 additions and 9 deletions

View file

@ -19,7 +19,11 @@
#include <net/net_ip.h>
#include <net/net_pkt.h>
#if defined(CONFIG_NET_LLDP)
#include <net/lldp.h>
#endif
#include <misc/util.h>
#include <net/net_if.h>
#include <net/ethernet_vlan.h>