From: Michael Brown Date: Wed, 18 May 2005 14:42:02 +0000 (+0000) Subject: Hide __attribute__ from doxygen X-Git-Tag: v0.9.3~1664 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75a90cb143af8980aa8f66f4e042342873c1c495;p=thirdparty%2Fipxe.git Hide __attribute__ from doxygen --- diff --git a/src/include/compiler.h b/src/include/compiler.h index 4a7c48a1c..b59ffea99 100644 --- a/src/include/compiler.h +++ b/src/include/compiler.h @@ -1,7 +1,17 @@ #ifndef COMPILER_H #define COMPILER_H -/* We export the symbol obj_OBJECT (OBJECT is defined on command-line) +/* + * Doxygen can't cope with some of the more esoteric areas of C, so we + * make its life simpler. + * + */ +#ifdef DOXYGEN +#define __attribute__(...) +#endif + +/* + * We export the symbol obj_OBJECT (OBJECT is defined on command-line) * as a global symbol, so that the linker can drag in selected object * files from the library using -u obj_OBJECT. *