Remove leading _ on header guards to comply with reserved identifier requirements (#29)

Remove leading _ on header guards to comply with reserved identifier requirements
This commit is contained in:
Sam Stuewe 2016-04-23 11:54:18 -05:00 committed by Nikolaus Rath
parent dad33d55f8
commit 482a49c256
5 changed files with 15 additions and 15 deletions

View File

@ -9,8 +9,8 @@
Read example/cusexmp.c for usages.
*/
#ifndef _CUSE_LOWLEVEL_H_
#define _CUSE_LOWLEVEL_H_
#ifndef CUSE_LOWLEVEL_H_
#define CUSE_LOWLEVEL_H_
#ifndef FUSE_USE_VERSION
#define FUSE_USE_VERSION 29
@ -84,4 +84,4 @@ int cuse_lowlevel_main(int argc, char *argv[], const struct cuse_info *ci,
}
#endif
#endif /* _CUSE_LOWLEVEL_H_ */
#endif /* CUSE_LOWLEVEL_H_ */

View File

@ -6,8 +6,8 @@
See the file COPYING.LIB.
*/
#ifndef _FUSE_H_
#define _FUSE_H_
#ifndef FUSE_H_
#define FUSE_H_
/** @file
*
@ -936,4 +936,4 @@ struct fuse_session *fuse_get_session(struct fuse *f);
}
#endif
#endif /* _FUSE_H_ */
#endif /* FUSE_H_ */

View File

@ -11,8 +11,8 @@
#error "Never include <fuse_common.h> directly; use <fuse.h> or <fuse_lowlevel.h> instead."
#endif
#ifndef _FUSE_COMMON_H_
#define _FUSE_COMMON_H_
#ifndef FUSE_COMMON_H_
#define FUSE_COMMON_H_
#include "fuse_opt.h"
#include <stdint.h>
@ -523,4 +523,4 @@ struct _fuse_off_t_must_be_64bit_dummy_struct \
{ unsigned _fuse_off_t_must_be_64bit:((sizeof(off_t) == 8) ? 1 : -1); };
#endif
#endif /* _FUSE_COMMON_H_ */
#endif /* FUSE_COMMON_H_ */

View File

@ -6,8 +6,8 @@
See the file COPYING.LIB.
*/
#ifndef _FUSE_LOWLEVEL_H_
#define _FUSE_LOWLEVEL_H_
#ifndef FUSE_LOWLEVEL_H_
#define FUSE_LOWLEVEL_H_
/** @file
*
@ -1728,4 +1728,4 @@ void fuse_chan_put(struct fuse_chan *ch);
}
#endif
#endif /* _FUSE_LOWLEVEL_H_ */
#endif /* FUSE_LOWLEVEL_H_ */

View File

@ -6,8 +6,8 @@
See the file COPYING.LIB.
*/
#ifndef _FUSE_OPT_H_
#define _FUSE_OPT_H_
#ifndef FUSE_OPT_H_
#define FUSE_OPT_H_
/** @file
*
@ -268,4 +268,4 @@ int fuse_opt_match(const struct fuse_opt opts[], const char *opt);
}
#endif
#endif /* _FUSE_OPT_H_ */
#endif /* FUSE_OPT_H_ */