summaryrefslogtreecommitdiffstats
path: root/src/include/compiler.h
diff options
context:
space:
mode:
authorMichael Brown2005-05-18 16:42:02 +0200
committerMichael Brown2005-05-18 16:42:02 +0200
commit75a90cb143af8980aa8f66f4e042342873c1c495 (patch)
treea263547264c2f894ac80c00d623e16b8d9816d3d /src/include/compiler.h
parentAdd EBADIMG, EIMGRET, ETIMEDOUT and EINVAL (diff)
downloadipxe-75a90cb143af8980aa8f66f4e042342873c1c495.tar.gz
ipxe-75a90cb143af8980aa8f66f4e042342873c1c495.tar.xz
ipxe-75a90cb143af8980aa8f66f4e042342873c1c495.zip
Hide __attribute__ from doxygen
Diffstat (limited to 'src/include/compiler.h')
-rw-r--r--src/include/compiler.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/compiler.h b/src/include/compiler.h
index 4a7c48a1..b59ffea9 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.
*