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:
@@ -3,9 +3,8 @@
|
||||
*
|
||||
* @(#)$Id$
|
||||
*/
|
||||
|
||||
#ifndef __flood_h_
|
||||
#define __flood_h_
|
||||
#ifndef FLOOD_H_
|
||||
#define FLOOD_H_
|
||||
|
||||
enum flood_type {
|
||||
MSG_FLOOD,
|
||||
@@ -34,4 +33,4 @@ void clean_flood_list(void);
|
||||
#define FLOOD_HASHSIZE 31
|
||||
extern HashEntry no_flood_list[FLOOD_HASHSIZE];
|
||||
|
||||
#endif /* __flood_h_ */
|
||||
#endif /* FLOOD_H_ */
|
||||
|
||||
Reference in New Issue
Block a user