update ifndef-define statements in every header with CUTIL_ prefix that already included files with matching defines will not collide
This commit is contained in:
parent
f744ec0f35
commit
a07e2d6f01
8 changed files with 18 additions and 14 deletions
4
array.h
4
array.h
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __ARRAY_H
|
||||
#define __ARRAY_H
|
||||
#ifndef __CUTIL_ARRAY_H
|
||||
#define __CUTIL_ARRAY_H
|
||||
|
||||
#include "cutypes.h"
|
||||
|
||||
|
|
|
|||
4
bitmap.h
4
bitmap.h
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __BITMAP_H
|
||||
#define __BITMAP_H
|
||||
#ifndef __CUTIL_BITMAP_H
|
||||
#define __CUTIL_BITMAP_H
|
||||
|
||||
#include "cutypes.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __CUTYPES_H
|
||||
#define __CUTYPES_H
|
||||
#ifndef __CUTIL_TYPES_H
|
||||
#define __CUTIL_TYPES_H
|
||||
|
||||
#define ARCH_UNKNOWN 0
|
||||
#define x86_64 1
|
||||
|
|
|
|||
4
endian.h
4
endian.h
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __ENDIAN_H
|
||||
#define __ENDIAN_H
|
||||
#ifndef __CUTIL_ENDIAN_H
|
||||
#define __CUTIL_ENDIAN_H
|
||||
|
||||
#include "cutypes.h"
|
||||
|
||||
|
|
|
|||
4
list.h
4
list.h
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __LIST_H
|
||||
#define __LIST_H
|
||||
#ifndef __CUTIL_LIST_H
|
||||
#define __CUTIL_LIST_H
|
||||
|
||||
#include "cutypes.h"
|
||||
|
||||
|
|
|
|||
4
string.h
Normal file
4
string.h
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#ifndef __CUTIL_STRING_H
|
||||
#define __CUTIL_STRING_H
|
||||
|
||||
#endif
|
||||
4
struct.h
4
struct.h
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __STRUCT_H
|
||||
#define __STRUCT_H
|
||||
#ifndef __CUTIL_STRUCT_H
|
||||
#define __CUTIL_STRUCT_H
|
||||
|
||||
#include "cutypes.h"
|
||||
#include "endian.h"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __VA_LIST_H
|
||||
#define __VA_LIST_H
|
||||
#ifndef __CUTIL_VA_LIST_H
|
||||
#define __CUTIL_VA_LIST_H
|
||||
|
||||
#include "cutypes.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue