diff options
| author | Andre Weissflog <floooh@gmail.com> | 2018-06-02 23:40:10 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2018-06-02 23:40:10 +0200 |
| commit | 1ef75166f32a74dc1e48c4609a3ae1426531686e (patch) | |
| tree | 99bacf54876e22f60fa0fe3fdb107b1f4971d1dd /sokol_time.h | |
| parent | 3be401abf78f0a124ff0d87b3a686a84acbdf92a (diff) | |
fixed (void) function signatures
Diffstat (limited to 'sokol_time.h')
| -rw-r--r-- | sokol_time.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sokol_time.h b/sokol_time.h index 816b1710..acb98755 100644 --- a/sokol_time.h +++ b/sokol_time.h @@ -83,8 +83,8 @@ extern "C" { #endif -extern void stm_setup(); -extern uint64_t stm_now(); +extern void stm_setup(void); +extern uint64_t stm_now(void); extern uint64_t stm_diff(uint64_t new_ticks, uint64_t old_ticks); extern uint64_t stm_since(uint64_t start_ticks); extern uint64_t stm_laptime(uint64_t* last_time); @@ -117,7 +117,7 @@ static uint64_t _stm_osx_start; static uint64_t _stm_posix_start; #endif -void stm_setup() { +void stm_setup(void) { SOKOL_ASSERT(0 == _stm_initialized); _stm_initialized = 1; #if defined(_WIN32) @@ -133,7 +133,7 @@ void stm_setup() { #endif } -uint64_t stm_now() { +uint64_t stm_now(void) { SOKOL_ASSERT(_stm_initialized); uint64_t now; #if defined(_WIN32) |