From c85995952f70eea54dc615f69716e4a051d0ff1e Mon Sep 17 00:00:00 2001 From: Will Storey Date: Sat, 17 Mar 2018 16:25:42 -0700 Subject: [PATCH] Allow compilation with -Werror=strict-prototypes (#3183) --- include/xgboost/c_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xgboost/c_api.h b/include/xgboost/c_api.h index 3553aa36a..02da26b05 100644 --- a/include/xgboost/c_api.h +++ b/include/xgboost/c_api.h @@ -95,7 +95,7 @@ XGB_EXTERN_C typedef int XGBCallbackDataIterNext( * this function is thread safe and can be called by different thread * \return const char* error information */ -XGB_DLL const char *XGBGetLastError(); +XGB_DLL const char *XGBGetLastError(void); /*! * \brief load a data matrix