diff --git a/common/kallsyms.c b/common/kallsyms.c index 4069f4b..490adb9 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 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)