Remove leading _ from header inclusion guards

Identifiers starting with underscore followed by uppercase letter
are reserved identifiers (ex. C99 7.1.3).
This commit is contained in:
Matthew Brush 2013-03-04 16:08:41 -08:00
parent eed54b197b
commit da501075ce
8 changed files with 16 additions and 16 deletions

View File

@ -35,8 +35,8 @@
* OF THE POSSIBILITY OF SUCH DAMAGE. * OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _LIBCFU_H_ #ifndef LIBCFU_H_
#define _LIBCFU_H_ #define LIBCFU_H_
#ifdef __cplusplus #ifdef __cplusplus
#define CFU_BEGIN_DECLS extern "C" { #define CFU_BEGIN_DECLS extern "C" {

View File

@ -35,8 +35,8 @@
* OF THE POSSIBILITY OF SUCH DAMAGE. * OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _CFU_CONF_H_ #ifndef CFU_CONF_H_
#define _CFU_CONF_H_ #define CFU_CONF_H_
#include <cfu.h> #include <cfu.h>
#include <cfuhash.h> #include <cfuhash.h>

View File

@ -35,8 +35,8 @@
* OF THE POSSIBILITY OF SUCH DAMAGE. * OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _CFU_HASH_H_ #ifndef CFU_HASH_H_
#define _CFU_HASH_H_ #define CFU_HASH_H_
#include <cfu.h> #include <cfu.h>
#include <stdio.h> #include <stdio.h>

View File

@ -35,8 +35,8 @@
* OF THE POSSIBILITY OF SUCH DAMAGE. * OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _CFU_LIST_ #ifndef CFU_LIST_
#define _CFU_LIST_ #define CFU_LIST_
#include <cfu.h> #include <cfu.h>
#include <stddef.h> #include <stddef.h>

View File

@ -37,8 +37,8 @@
#include <cfu.h> #include <cfu.h>
#ifndef _CFU_OPT_H_ #ifndef CFU_OPT_H_
#define _CFU_OPT_H_ #define CFU_OPT_H_
CFU_BEGIN_DECLS CFU_BEGIN_DECLS

View File

@ -35,8 +35,8 @@
* OF THE POSSIBILITY OF SUCH DAMAGE. * OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _CFU_STRING_H_ #ifndef CFU_STRING_H_
#define _CFU_STRING_H_ #define CFU_STRING_H_
#include <cfu.h> #include <cfu.h>
#include <stdarg.h> #include <stdarg.h>

View File

@ -35,8 +35,8 @@
* OF THE POSSIBILITY OF SUCH DAMAGE. * OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _CFUTHREAD_QUEUE_H #ifndef CFUTHREAD_QUEUE_H
#define _CFUTHREAD_QUEUE_H #define CFUTHREAD_QUEUE_H
#include <cfu.h> #include <cfu.h>

View File

@ -35,8 +35,8 @@
* OF THE POSSIBILITY OF SUCH DAMAGE. * OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _CFU_TIME_H_ #ifndef CFU_TIME_H_
#define _CFU_TIME_H_ #define CFU_TIME_H_
#include <cfu.h> #include <cfu.h>