Fix sanity: check_include_guards

reviewable/pr8842/r4
Craig Tiller 8 years ago
parent 032baa8308
commit aa16d3f47d
  1. 6
      src/core/lib/iomgr/error_internal.h
  2. 6
      src/core/lib/transport/error_utils.h
  3. 6
      src/core/lib/transport/http2_errors.h
  4. 6
      src/core/lib/transport/status_conversion.h

@ -31,8 +31,8 @@
*
*/
#ifndef GRPC_ERROR_INTERNAL_H
#define GRPC_ERROR_INTERNAL_H
#ifndef GRPC_CORE_LIB_IOMGR_ERROR_INTERNAL_H
#define GRPC_CORE_LIB_IOMGR_ERROR_INTERNAL_H
#include <inttypes.h>
#include <stdbool.h>
@ -51,4 +51,4 @@ struct grpc_error {
bool grpc_error_is_special(grpc_error *err);
#endif
#endif /* GRPC_CORE_LIB_IOMGR_ERROR_INTERNAL_H */

@ -31,8 +31,8 @@
*
*/
#ifndef GRPC_ERROR_UTILS_H
#define GRPC_ERROR_UTILS_H
#ifndef GRPC_CORE_LIB_TRANSPORT_ERROR_UTILS_H
#define GRPC_CORE_LIB_TRANSPORT_ERROR_UTILS_H
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/transport/http2_errors.h"
@ -53,4 +53,4 @@ void grpc_error_get_status(grpc_error *error, gpr_timespec deadline,
/// GRPC_ERROR_CANCELLED
bool grpc_error_has_clear_grpc_status(grpc_error *error);
#endif
#endif /* GRPC_CORE_LIB_TRANSPORT_ERROR_UTILS_H */

@ -31,8 +31,8 @@
*
*/
#ifndef GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HTTP2_ERRORS_H
#define GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HTTP2_ERRORS_H
#ifndef GRPC_CORE_LIB_TRANSPORT_HTTP2_ERRORS_H
#define GRPC_CORE_LIB_TRANSPORT_HTTP2_ERRORS_H
/* error codes for RST_STREAM from http2 draft 14 section 7 */
typedef enum {
@ -53,4 +53,4 @@ typedef enum {
GRPC_HTTP2__ERROR_DO_NOT_USE = -1
} grpc_http2_error_code;
#endif /* GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HTTP2_ERRORS_H */
#endif /* GRPC_CORE_LIB_TRANSPORT_HTTP2_ERRORS_H */

@ -31,8 +31,8 @@
*
*/
#ifndef GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_STATUS_CONVERSION_H
#define GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_STATUS_CONVERSION_H
#ifndef GRPC_CORE_LIB_TRANSPORT_STATUS_CONVERSION_H
#define GRPC_CORE_LIB_TRANSPORT_STATUS_CONVERSION_H
#include <grpc/grpc.h>
#include "src/core/lib/transport/http2_errors.h"
@ -46,4 +46,4 @@ grpc_status_code grpc_http2_error_to_grpc_status(grpc_http2_error_code error,
grpc_status_code grpc_http2_status_to_grpc_status(int status);
int grpc_status_to_http2_status(grpc_status_code status);
#endif /* GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_STATUS_CONVERSION_H */
#endif /* GRPC_CORE_LIB_TRANSPORT_STATUS_CONVERSION_H */

Loading…
Cancel
Save