From 7bc92b3d50090e84d3e2ca9d37eacf0ee042e070 Mon Sep 17 00:00:00 2001 From: "David B. Kinder" Date: Mon, 12 Sep 2016 10:16:13 -0700 Subject: [PATCH] doc: workaround for __deprecated functions This edit to the doxygen.config file causes Doxygen to treat __deprecated as a predefined macro, which expands to nothing. See https://wiki.zephyrproject.org/view/Function_Documentation#Workarounds for further information about this workaround. Change-Id: I8e344cf65d7ff45609d5dd9a0caec14df9799d46 Signed-off-by: David B. Kinder --- doc/doxygen.config | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/doxygen.config b/doc/doxygen.config index a423fd499cb..dd2ae4ad5d8 100644 --- a/doc/doxygen.config +++ b/doc/doxygen.config @@ -276,6 +276,7 @@ PREDEFINED = "CONFIG_SYS_CLOCK_EXISTS=y" \ "CONFIG_DEVICE_POWER_MANAGEMENT=y" \ "CONFIG_BLUETOOTH_SMP=y" \ "CONFIG_BLUETOOTH_BREDR=y" \ + "__deprecated=" \ "__printf_like(x, y)=" \ "__attribute(x)__=" EXPAND_AS_DEFINED =