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:
Kevin Easton
2017-05-10 23:30:11 +10:00
parent a329dd8404
commit 3f87eb31b1
55 changed files with 151 additions and 201 deletions

View File

@@ -5,9 +5,8 @@
* Copyright 1997 EPIC Software Labs
* See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT
*/
#ifndef __keys_h__
#define __keys_h__
#ifndef KEYS_H_
#define KEYS_H_
/* I hate typedefs... */
typedef void (*KeyBinding) (char, char *);
@@ -52,4 +51,4 @@ enum MOUSE_ACTIONS {
};
#endif
#endif /* _KEYS_H_ */
#endif /* KEYS_H_ */