david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Hide __attribute__ from doxygen

This commit is contained in:
Michael Brown 2005-05-18 14:42:02 +00:00
parent 0eb4d9973c
commit 75a90cb143
1 changed files with 11 additions and 1 deletions

View File

@ -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.
*