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:
@@ -36,9 +36,8 @@
|
||||
* from: @(#)glob.h 8.1 (Berkeley) 6/2/93
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#ifndef _GLOB_H_
|
||||
#define _GLOB_H_
|
||||
#ifndef BSDGLOB_H_
|
||||
#define BSDGLOB_H_
|
||||
|
||||
struct stat;
|
||||
typedef struct {
|
||||
@@ -83,4 +82,4 @@ typedef struct {
|
||||
int BX_bsd_glob (const char *, int, int (*)(const char *, int), glob_t *);
|
||||
void BX_bsd_globfree (glob_t *);
|
||||
|
||||
#endif /* !_GLOB_H_ */
|
||||
#endif /* BSDGLOB_H_ */
|
||||
|
||||
Reference in New Issue
Block a user