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:
@@ -13,9 +13,8 @@
|
||||
*
|
||||
* @(#)$Id$
|
||||
*/
|
||||
|
||||
#ifndef __config_h_
|
||||
#define __config_h_
|
||||
#ifndef CONFIG_H_
|
||||
#define CONFIG_H_
|
||||
|
||||
#include "defs.h"
|
||||
|
||||
@@ -689,4 +688,4 @@
|
||||
|
||||
#include "color.h" /* all color options here. */
|
||||
|
||||
#endif /* __config_h_ */
|
||||
#endif /* CONFIG_H_ */
|
||||
|
||||
Reference in New Issue
Block a user