summaryrefslogtreecommitdiffstats
path: root/common/kallsyms.c
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2010-10-22 18:45:10 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-22 20:47:03 +0200
commitbd8db893bb65e32952f8389d37f868e2c6f82d21 (patch)
treef26e2d9d637736f93be177e28953217ce34b8a2e /common/kallsyms.c
parentd65ee96da2c42a7bb0677ede494b01cab689abd9 (diff)
downloadbarebox-bd8db893bb65e32952f8389d37f868e2c6f82d21.tar.gz
barebox-bd8db893bb65e32952f8389d37f868e2c6f82d21.tar.xz
doc: silence doxygen warnings
Silence these warnings: common/kallsyms.c:8: Warning: documented function `const u8 kallsyms_names' was not declared or defined. common/kallsyms.c:10: Warning: documented function `const u8 kallsyms_token_table' was not declared or defined. common/kallsyms.c:11: Warning: documented function `const u16 kallsyms_token_index' was not declared or defined. common/kallsyms.c:13: Warning: documented function `const unsigned long kallsyms_markers' was not declared or defined. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/kallsyms.c')
-rw-r--r--common/kallsyms.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/kallsyms.c b/common/kallsyms.c
index 4069f4b701..490adb9223 100644
--- a/common/kallsyms.c
+++ b/common/kallsyms.c
@@ -2,6 +2,8 @@
#include <init.h>
#include <kallsyms.h>
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+
/* These will be re-linked against their real values during the second link stage */
extern const unsigned long kallsyms_addresses[] __attribute__((weak));
extern const unsigned long kallsyms_num_syms __attribute__((weak));
@@ -12,6 +14,8 @@ extern const u16 kallsyms_token_index[] __attribute__((weak));
extern const unsigned long kallsyms_markers[] __attribute__((weak));
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+
/* expand a compressed symbol data into the resulting uncompressed string,
given the offset to where the symbol is in the compressed stream */
static unsigned int kallsyms_expand_symbol(unsigned int off, char *result)