Harald Welte has submitted this change and it was merged.

Change subject: [doc] Ensure stats.h is parsed properly for Doxygen
......................................................................


[doc] Ensure stats.h is parsed properly for Doxygen

stats.h uses a rather crude '#ifdef unix' hack, which means that Doxygen
will not scan the body of the file.  This patch ensures 'unix' is defined
to parse the stats.h body and thus have all relevant information in it
is parsed.

Change-Id: I65384e5cc01f2ad7783cf6b71ab78b4422902aa1
---
M Doxyfile.core.in
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/Doxyfile.core.in b/Doxyfile.core.in
index c47ff3c..7a3cce5 100644
--- a/Doxyfile.core.in
+++ b/Doxyfile.core.in
@@ -1447,7 +1447,7 @@
 # undefined via #undef or recursively expanded use the := operator
 # instead of the = operator.
 
-PREDEFINED             =
+PREDEFINED             = "unix=1"
 
 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
 # this tag can be used to specify a list of macro names that should be 
expanded.

-- 
To view, visit https://gerrit.osmocom.org/4297
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I65384e5cc01f2ad7783cf6b71ab78b4422902aa1
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to