Rename build info function to be consistent with rest of the API. (#7553)

This commit is contained in:
Jiaming Yuan
2022-01-14 00:39:28 +08:00
committed by GitHub
parent e94b766310
commit 52277cc3da
4 changed files with 4 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ void XGBBuildInfoDevice(Json *p_info) {
} // namespace xgboost
#endif
XGB_DLL int XGBBuildInfo(char const **out) {
XGB_DLL int XGBuildInfo(char const **out) {
API_BEGIN();
CHECK(out) << "Invalid input pointer";
Json info{Object{}};