Skip to content

Commit

Permalink
Fix a compiler warning. (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMage authored Jul 3, 2019
1 parent 8bc025e commit 5c610b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/CgRPC/include/grpc/grpc_security.h
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ typedef struct grpc_tls_credentials_options grpc_tls_credentials_options;

/** Create an empty TLS credentials options. It is used for
* experimental purpose for now and subject to change. */
GRPCAPI grpc_tls_credentials_options* grpc_tls_credentials_options_create();
GRPCAPI grpc_tls_credentials_options* grpc_tls_credentials_options_create(void);

/** Set grpc_ssl_client_certificate_request_type field in credentials options
with the provided type. options should not be NULL.
Expand Down Expand Up @@ -674,7 +674,7 @@ GRPCAPI int grpc_tls_credentials_options_set_server_authorization_check_config(

/** Create an empty grpc_tls_key_materials_config instance.
* It is used for experimental purpose for now and subject to change. */
GRPCAPI grpc_tls_key_materials_config* grpc_tls_key_materials_config_create();
GRPCAPI grpc_tls_key_materials_config* grpc_tls_key_materials_config_create(void);

/** Set grpc_tls_key_materials_config instance with provided a TLS certificate.
config will take the ownership of pem_root_certs and pem_key_cert_pairs.
Expand Down

0 comments on commit 5c610b0

Please sign in to comment.