Standardise header include guards
Tokens that begin with two underscores __* or an underscore and an uppercase letter _X* are reserved, so we should avoid those for our own include guards. The standard I'm settling on for foo.h is FOO_H_.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef __cdrom_h_
|
||||
#define __cdrom_h_
|
||||
#ifndef CDROM_H_
|
||||
#define CDROM_H_
|
||||
|
||||
#ifndef __FreeBSD__
|
||||
#include <mntent.h>
|
||||
@@ -64,4 +64,4 @@ struct cdrom_etocentry
|
||||
#define CDROMVOLREAD CDIOCGETVOL
|
||||
#endif /* __FreeBSD__ */
|
||||
|
||||
#endif /* cdrom.h */
|
||||
#endif /* CDROM_H_ */
|
||||
|
||||
Reference in New Issue
Block a user