mirror of https://github.com/grpc/grpc.git
The following functions in the `fork.h` file cause a `This function declaration is not a prototype` warning in Swift: ``` void grpc_prefork(void); void grpc_postfork_parent(void); void grpc_postfork_child(void); void grpc_fork_handlers_auto_register(void); ``` Explicitly specifying `void` as the argument resolves the warnings. Reproducible using Xcode 9.2 with `SwiftGRPC`/`gRPC-Core` via CocoaPods.pull/14854/head
parent
173a29d82e
commit
9c926f325d
1 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue