Allow compilation with -Werror=strict-prototypes (#3183)

This commit is contained in:
Will Storey 2018-03-17 16:25:42 -07:00 committed by Rory Mitchell
parent 9fa45d3a9c
commit c85995952f

View File

@ -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