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

@@ -9,9 +9,8 @@
*
* @(#)$Id$
*/
#ifndef __funny_h_
#define __funny_h_
#ifndef FUNNY_H_
#define FUNNY_H_
#define FUNNY_PUBLIC 1
#define FUNNY_PRIVATE 2
@@ -32,4 +31,4 @@
void funny_namreply (char *, char **);
void update_user_mode (char *);
#endif /* __funny_h_ */
#endif /* FUNNY_H_ */