From bd8db893bb65e32952f8389d37f868e2c6f82d21 Mon Sep 17 00:00:00 2001 From: Robert Schwebel Date: Fri, 22 Oct 2010 18:45:10 +0200 Subject: 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 Signed-off-by: Sascha Hauer --- common/kallsyms.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/kallsyms.c') 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 #include +#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) -- cgit v1.2.3