Fix include guards

reviewable/pr8532/r1
Craig Tiller 8 years ago
parent 618e67d655
commit 5b676a6b1a
  1. 2
      include/grpc++/impl/codegen/thrift_serializer.h
  2. 6
      include/grpc/slice.h
  3. 6
      include/grpc/slice_buffer.h
  4. 2
      src/core/ext/census/trace_context.h
  5. 6
      src/core/lib/slice/percent_encoding.h
  6. 6
      src/core/lib/slice/slice_string_helpers.h

@ -214,4 +214,4 @@ typedef ThriftSerializer<void, TCompactProtocolT<TBufferBase>>
} // namespace thrift
} // namespace apache
#endif
#endif // GRPCXX_IMPL_CODEGEN_THRIFT_SERIALIZER_H

@ -31,8 +31,8 @@
*
*/
#ifndef GRPC_SUPPORT_SLICE_H
#define GRPC_SUPPORT_SLICE_H
#ifndef GRPC_SLICE_H
#define GRPC_SLICE_H
#include <grpc/impl/codegen/slice.h>
#include <grpc/support/sync.h>
@ -125,4 +125,4 @@ GPRAPI int grpc_slice_str_cmp(grpc_slice a, const char *b);
}
#endif
#endif /* GRPC_SUPPORT_SLICE_H */
#endif /* GRPC_SLICE_H */

@ -31,8 +31,8 @@
*
*/
#ifndef GRPC_SUPPORT_SLICE_BUFFER_H
#define GRPC_SUPPORT_SLICE_BUFFER_H
#ifndef GRPC_SLICE_BUFFER_H
#define GRPC_SLICE_BUFFER_H
#include <grpc/slice.h>
@ -84,4 +84,4 @@ GPRAPI grpc_slice grpc_slice_buffer_take_first(grpc_slice_buffer *src);
}
#endif
#endif /* GRPC_SUPPORT_SLICE_BUFFER_H */
#endif /* GRPC_SLICE_BUFFER_H */

@ -65,4 +65,4 @@ of these do not exist. On success, returns true and false otherwise. */
bool decode_trace_context(google_trace_TraceContext *ctxt, uint8_t *buffer,
const size_t nbytes);
#endif
#endif /* GRPC_CORE_EXT_CENSUS_TRACE_CONTEXT_H */

@ -31,8 +31,8 @@
*
*/
#ifndef GRPC_CORE_LIB_SUPPORT_PERCENT_ENCODING_H
#define GRPC_CORE_LIB_SUPPORT_PERCENT_ENCODING_H
#ifndef GRPC_CORE_LIB_SLICE_PERCENT_ENCODING_H
#define GRPC_CORE_LIB_SLICE_PERCENT_ENCODING_H
/* Percent encoding and decoding of slices.
Transforms arbitrary strings into safe-for-transmission strings by using
@ -75,4 +75,4 @@ bool grpc_strict_percent_decode_slice(grpc_slice slice_in,
This cannot fail. */
grpc_slice grpc_permissive_percent_decode_slice(grpc_slice slice_in);
#endif /* GRPC_CORE_LIB_SUPPORT_PERCENT_ENCODING_H */
#endif /* GRPC_CORE_LIB_SLICE_PERCENT_ENCODING_H */

@ -31,8 +31,8 @@
*
*/
#ifndef GRPC_CORE_LIB_SUPPORT_SLICE_STRING_H
#define GRPC_CORE_LIB_SUPPORT_SLICE_STRING_H
#ifndef GRPC_CORE_LIB_SLICE_SLICE_STRING_HELPERS_H
#define GRPC_CORE_LIB_SLICE_SLICE_STRING_HELPERS_H
#include <stddef.h>
@ -55,4 +55,4 @@ void grpc_slice_split(grpc_slice str, const char *sep, grpc_slice_buffer *dst);
}
#endif
#endif /* GRPC_CORE_LIB_SUPPORT_STRING_H */
#endif /* GRPC_CORE_LIB_SLICE_SLICE_STRING_HELPERS_H */

Loading…
Cancel
Save