No C99 in public headers

pull/10676/head
Craig Tiller 8 years ago
parent d69115507e
commit 100539f7c8
  1. 5
      include/grpc/impl/codegen/compression_types.h
  2. 2
      src/core/lib/iomgr/socket_mutator.h

@ -34,7 +34,6 @@
#ifndef GRPC_IMPL_CODEGEN_COMPRESSION_TYPES_H
#define GRPC_IMPL_CODEGEN_COMPRESSION_TYPES_H
#include <stdbool.h>
#include <stdint.h>
#ifdef __cplusplus
@ -101,7 +100,7 @@ typedef struct grpc_compression_options {
* precedence over \a default_algorithm.
* TODO(dgq): currently only available for server channels. */
struct {
bool is_set;
int is_set;
grpc_compression_level level;
} default_level;
@ -109,7 +108,7 @@ typedef struct grpc_compression_options {
* call specific settings. This option corresponds to the channel argument key
* behind \a GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM. */
struct {
bool is_set;
int is_set;
grpc_compression_algorithm algorithm;
} default_algorithm;

@ -37,6 +37,8 @@
#include <grpc/impl/codegen/grpc_types.h>
#include <grpc/support/sync.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif

Loading…
Cancel
Save