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:
@@ -5,9 +5,8 @@
|
||||
*
|
||||
* @(#)$Id$
|
||||
*/
|
||||
|
||||
#ifndef __hook_h_
|
||||
# define __hook_h_
|
||||
#ifndef HOOK_H_
|
||||
#define HOOK_H_
|
||||
|
||||
enum HOOK_TYPES {
|
||||
ACTION_LIST,
|
||||
@@ -182,4 +181,4 @@ enum HOOK_TYPES {
|
||||
void do_stack_on (int, char *);
|
||||
extern HookFunc hook_functions[];
|
||||
|
||||
#endif /* __hook_h_ */
|
||||
#endif /* HOOK_H_ */
|
||||
|
||||
Reference in New Issue
Block a user