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,9 +1,9 @@
|
||||
/*
|
||||
* edit.h: header for edit.c
|
||||
* commands.h: header for commands.c
|
||||
*
|
||||
*/
|
||||
#ifndef __edit_h_
|
||||
#define __edit_h_
|
||||
#ifndef COMMANDS_H_
|
||||
#define COMMANDS_H_
|
||||
|
||||
#include "irc_std.h"
|
||||
|
||||
@@ -298,4 +298,4 @@ extern int continue_exception;
|
||||
extern int return_exception;
|
||||
|
||||
|
||||
#endif /* __edit_h_ */
|
||||
#endif /* COMMANDS_H_ */
|
||||
|
||||
Reference in New Issue
Block a user