Skip to content

Commit 36868a0

Browse files
committed
removing leading/trailing underscores from preprocessor symbols
1 parent 402a96b commit 36868a0

15 files changed

+31
-31
lines changed

MurmurHash3.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// MurmurHash3 was written by Austin Appleby, and is placed in the public
33
// domain. The author hereby disclaims copyright to this source code.
44

5-
#ifndef _MURMURHASH3_H_
6-
#define _MURMURHASH3_H_
5+
#ifndef MURMURHASH3_H
6+
#define MURMURHASH3_H
77

88
//-----------------------------------------------------------------------------
99
// Platform-specific functions and macros
@@ -34,4 +34,4 @@ void MurmurHash3_x64_128 ( const void * key, int len, uint32_t seed, void * out
3434

3535
//-----------------------------------------------------------------------------
3636

37-
#endif // _MURMURHASH3_H_
37+
#endif // MURMURHASH3_H

arraylist.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __ARRAYLIST_H_
2-
#define __ARRAYLIST_H_
1+
#ifndef ARRAYLIST_H
2+
#define ARRAYLIST_H
33

44
#define AL_N_INLINE 29
55

bitvector.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __BITVECTOR_H_
2-
#define __BITVECTOR_H_
1+
#ifndef BITVECTOR_H
2+
#define BITVECTOR_H
33

44
// a mask with n set lo or hi bits
55
#define lomask(n) (u_int32_t)((((u_int32_t)1)<<(n))-1)

dirpath.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __DIRPATH_H_
2-
#define __DIRPATH_H_
1+
#ifndef DIRPATH_H
2+
#define DIRPATH_H
33

44
#ifdef WIN32
55
#define PATHSEP '\\'

dtypes.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __DTYPES_H_
2-
#define __DTYPES_H_
1+
#ifndef DTYPES_H
2+
#define DTYPES_H
33

44
/*
55
This file defines sane integer types for our target platforms. This

hashing.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __HASHING_H_
2-
#define __HASHING_H_
1+
#ifndef HASHING_H
2+
#define HASHING_H
33

44
uint_t nextipow2(uint_t i);
55
DLLEXPORT u_int32_t int32hash(u_int32_t a);

htable.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __HTABLE_H_
2-
#define __HTABLE_H_
1+
#ifndef HTABLE_H
2+
#define HTABLE_H
33

44
#define HT_N_INLINE 32
55

ieee754.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __IEEE754_H_
2-
#define __IEEE754_H_
1+
#ifndef IEEE754_H
2+
#define IEEE754_H
33

44
#ifdef __linux
55

ios.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __IOS_H_
2-
#define __IOS_H_
1+
#ifndef IOS_H
2+
#define IOS_H
33

44
#include <stdarg.h>
55
#include <pthread.h>

libsupport.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __LIBSUPPORT_H_
2-
#define __LIBSUPPORT_H_
1+
#ifndef LIBSUPPORT_H
2+
#define LIBSUPPORT_H
33

44
#include <stdarg.h>
55
#include "dtypes.h"

ptrhash.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __PTRHASH_H_
2-
#define __PTRHASH_H_
1+
#ifndef PTRHASH_H
2+
#define PTRHASH_H
33

44
#include "htableh.inc"
55

socket.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __LLTSOCKET_H_
2-
#define __LLTSOCKET_H_
1+
#ifndef LLTSOCKET_H
2+
#define LLTSOCKET_H
33

44
#ifdef WIN32
55
#include <winsock2.h>

timefuncs.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __TIMEFUNCS_H_
2-
#define __TIMEFUNCS_H_
1+
#ifndef TIMEFUNCS_H
2+
#define TIMEFUNCS_H
33

44
u_int64_t i64time(void);
55
DLLEXPORT double clock_now(void);

utf8.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __UTF8_H_
2-
#define __UTF8_H_
1+
#ifndef UTF8_H
2+
#define UTF8_H
33

44
extern int locale_is_utf8;
55

utils.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __UTILS_H_
2-
#define __UTILS_H_
1+
#ifndef UTILS_H
2+
#define UTILS_H
33

44
char *uint2str(char *dest, size_t len, uint64_t num, uint32_t base);
55
int str2int(char *str, size_t len, int64_t *res, uint32_t base);

0 commit comments

Comments
 (0)