aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/compression
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-28 22:51:08 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-28 22:51:08 -0800
commitfe3c37c2817a5973d5c0a0d72e2f114d7551fe36 (patch)
tree588eec54aab2ec62c497b9395d21a4dd9abb8140 /src/core/compression
parent0c84e3c4e68ba9c480074387fadf40fb9b8da873 (diff)
parent1ff52d5278b625ede3d008f053b652fa455eaf6b (diff)
Merge pull request #900 from nicolasnoble/headers
Guard headers tool.
Diffstat (limited to 'src/core/compression')
-rw-r--r--src/core/compression/algorithm.h6
-rw-r--r--src/core/compression/message_compress.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/core/compression/algorithm.h b/src/core/compression/algorithm.h
index e398ae34b4..9dd9f57b56 100644
--- a/src/core/compression/algorithm.h
+++ b/src/core/compression/algorithm.h
@@ -31,8 +31,8 @@
*
*/
-#ifndef __GRPC_INTERNAL_COMPRESSION_ALGORITHM_H__
-#define __GRPC_INTERNAL_COMPRESSION_ALGORITHM_H__
+#ifndef GRPC_INTERNAL_CORE_COMPRESSION_ALGORITHM_H
+#define GRPC_INTERNAL_CORE_COMPRESSION_ALGORITHM_H
/* The various compression algorithms supported by GRPC */
typedef enum {
@@ -46,4 +46,4 @@ typedef enum {
const char *grpc_compression_algorithm_name(
grpc_compression_algorithm algorithm);
-#endif /* __GRPC_INTERNAL_COMPRESSION_ALGORITHM_H__ */
+#endif /* GRPC_INTERNAL_CORE_COMPRESSION_ALGORITHM_H */
diff --git a/src/core/compression/message_compress.h b/src/core/compression/message_compress.h
index 666da2ed0d..e8aef1a713 100644
--- a/src/core/compression/message_compress.h
+++ b/src/core/compression/message_compress.h
@@ -31,8 +31,8 @@
*
*/
-#ifndef __GRPC_INTERNAL_COMPRESSION_MESSAGE_COMPRESS_H__
-#define __GRPC_INTERNAL_COMPRESSION_MESSAGE_COMPRESS_H__
+#ifndef GRPC_INTERNAL_CORE_COMPRESSION_MESSAGE_COMPRESS_H
+#define GRPC_INTERNAL_CORE_COMPRESSION_MESSAGE_COMPRESS_H
#include "src/core/compression/algorithm.h"
#include <grpc/support/slice_buffer.h>
@@ -49,4 +49,4 @@ int grpc_msg_compress(grpc_compression_algorithm algorithm,
int grpc_msg_decompress(grpc_compression_algorithm algorithm,
gpr_slice_buffer *input, gpr_slice_buffer *output);
-#endif /* __GRPC_INTERNAL_COMPRESSION_MESSAGE_COMPRESS_H__ */
+#endif /* GRPC_INTERNAL_CORE_COMPRESSION_MESSAGE_COMPRESS_H */