Ver Fonte

Update function signature

Muxi Yan há 7 anos atrás
pai
commit
51b79f1757
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      include/grpc/grpc_security.h

+ 2 - 2
include/grpc/grpc_security.h

@@ -532,14 +532,14 @@ typedef struct grpc_alts_credentials_options grpc_alts_credentials_options;
  * It is used for experimental purpose for now and subject to change.
  * It is used for experimental purpose for now and subject to change.
  */
  */
 GRPCAPI grpc_alts_credentials_options*
 GRPCAPI grpc_alts_credentials_options*
-grpc_alts_credentials_client_options_create();
+grpc_alts_credentials_client_options_create(void);
 
 
 /**
 /**
  * This method creates a grpc ALTS credentials server options instance.
  * This method creates a grpc ALTS credentials server options instance.
  * It is used for experimental purpose for now and subject to change.
  * It is used for experimental purpose for now and subject to change.
  */
  */
 GRPCAPI grpc_alts_credentials_options*
 GRPCAPI grpc_alts_credentials_options*
-grpc_alts_credentials_server_options_create();
+grpc_alts_credentials_server_options_create(void);
 
 
 /**
 /**
  * This method adds a target service account to grpc client's ALTS credentials
  * This method adds a target service account to grpc client's ALTS credentials