Skip to content

Commit

Permalink
Update ion_debug_has_tracing to support strict function prototypes (#342
Browse files Browse the repository at this point in the history
)
  • Loading branch information
drakumus authored Jul 29, 2024
1 parent e5fb755 commit 6c988b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ionc/include/ionc/ion_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ extern "C" {
/** DEPRECATED - use the accessor functions below. */
GLOBAL BOOL g_ion_debug_tracing INITTO(FALSE);

ION_API_EXPORT BOOL ion_debug_has_tracing();
ION_API_EXPORT BOOL ion_debug_has_tracing(void);
ION_API_EXPORT void ion_debug_set_tracing(BOOL state);

#ifdef __cplusplus
Expand Down
4 changes: 2 additions & 2 deletions ionc/ion_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@

#include <ionc/ion_debug.h>

BOOL ion_debug_has_tracing()
BOOL ion_debug_has_tracing(void)
{
return g_ion_debug_tracing;
}

void ion_debug_set_tracing(BOOL state)
{
g_ion_debug_tracing = state;
}
}

0 comments on commit 6c988b7

Please sign in to comment.