Mark local functions as static where appropriate
Set local functions as static and include a prototype. This fixes a multitude of warnings for missing prototypes in clang like this one: gpcheckcloud.cpp:32:6: warning: no previous prototype for function 'registerSignalHandler' [-Wmissing-prototypes] void registerSignalHandler() { ^
Showing
想要评论请 注册 或 登录