-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
c_api: Fix function prototypes with no argument (#5436)
Here is a big difference between C and C++. foo() in C means that the funtion takes an unspecified number of arguments, while foo(void) means the function takes no argument. Fix -Wstrict-prototypes warning. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
- Loading branch information
1 parent
6cdd711
commit e31be49
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters