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,18 +1,14 @@
|
||||
/* $Id$ */
|
||||
|
||||
/*
|
||||
* cdns.h: header for cdns.c
|
||||
*/
|
||||
|
||||
#ifndef _CDNS_H_
|
||||
#define _CDNS_H_
|
||||
#ifndef CDNS_H_
|
||||
#define CDNS_H_
|
||||
|
||||
/* We gotta know about the fd_set type, so we gonna inclue this */
|
||||
#include "irc.h"
|
||||
|
||||
#include "struct.h"
|
||||
#include "newio.h"
|
||||
#endif
|
||||
|
||||
#define MAXALIASES 35
|
||||
#define MAXADDRS 35
|
||||
@@ -91,3 +87,4 @@ void freemyhostent(my_hostent *freeme);
|
||||
#define Q_NEXT(tmp) ((tmp)->next)
|
||||
#define Q_OPEN(headp, tailp) (*(headp) = *(tailp) = NULL)
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user