From d4a35215019665c4cb73ec1519b2905c4db07bef Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Fri, 15 Jul 2022 11:29:26 +0200 Subject: [PATCH] doc/doxygen: add gnrc_ipv6_auto_subnets.c to INPUT --- doc/doxygen/riot.doxyfile | 3 ++- .../gnrc/routing/ipv6_auto_subnets/gnrc_ipv6_auto_subnets.c | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/doxygen/riot.doxyfile b/doc/doxygen/riot.doxyfile index 07d72ae92e..d8d0308aac 100644 --- a/doc/doxygen/riot.doxyfile +++ b/doc/doxygen/riot.doxyfile @@ -776,7 +776,8 @@ INPUT = ../../doc.txt \ src/release-cycle.md \ src/changelog.md \ ../../LOSTANDFOUND.md \ - ../../makefiles/pseudomodules.inc.mk + ../../makefiles/pseudomodules.inc.mk \ + ../../sys/net/gnrc/routing/ipv6_auto_subnets/gnrc_ipv6_auto_subnets.c # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses diff --git a/sys/net/gnrc/routing/ipv6_auto_subnets/gnrc_ipv6_auto_subnets.c b/sys/net/gnrc/routing/ipv6_auto_subnets/gnrc_ipv6_auto_subnets.c index 29246c899c..bd83dadfde 100644 --- a/sys/net/gnrc/routing/ipv6_auto_subnets/gnrc_ipv6_auto_subnets.c +++ b/sys/net/gnrc/routing/ipv6_auto_subnets/gnrc_ipv6_auto_subnets.c @@ -128,6 +128,9 @@ #define CONFIG_GNRC_IPV6_AUTO_SUBNETS_NUMOF (1) #endif +/* Code below should not be included by Doxygen */ +#ifndef DOXYGEN + #define SERVER_THREAD_STACKSIZE (THREAD_STACKSIZE_DEFAULT) #define SERVER_MSG_QUEUE_SIZE (CONFIG_GNRC_IPV6_AUTO_SUBNETS_PEERS_MAX) #define SERVER_MSG_TYPE_TIMEOUT (0x8fae) @@ -645,4 +648,5 @@ void gnrc_ipv6_auto_subnets_init(void) _eventloop, NULL, "auto_subnets"); } #endif /* !IS_USED(MODULE_GNRC_IPV6_AUTO_SUBNETS_SIMPLE) */ +#endif /* !DOXYGEN */ /** @} */