Skip to content

Commit

Permalink
Merge pull request #664 from veselypeta/petr/umf-strict-prototypes-fix
Browse files Browse the repository at this point in the history
[UR][UMF] Fix warning from -Wstrict-prototypes
  • Loading branch information
pbalcer authored Jul 3, 2023
2 parents 9081a1e + 8119585 commit e6b3865
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const char *umfMemoryProviderGetName(umf_memory_provider_handle_t hProvider);
/// returns status other than UMF_RESULT_SUCCESS.
///
/// \return Handle to the memory provider
umf_memory_provider_handle_t umfGetLastFailedMemoryProvider();
umf_memory_provider_handle_t umfGetLastFailedMemoryProvider(void);

#ifdef __cplusplus
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,6 @@ const char *umfMemoryProviderGetName(umf_memory_provider_handle_t hProvider) {
return hProvider->ops.get_name(hProvider->provider_priv);
}

umf_memory_provider_handle_t umfGetLastFailedMemoryProvider() {
umf_memory_provider_handle_t umfGetLastFailedMemoryProvider(void) {
return *umfGetLastFailedMemoryProviderPtr();
}

0 comments on commit e6b3865

Please sign in to comment.