From 4dbfb0b3bea3d03e156862039ca584478f08cd83 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Wed, 28 Dec 2022 17:27:23 -0600 Subject: [PATCH] chore(thread): clean up function signatures in headers --- storm/thread/SCritSect.hpp | 4 ++-- storm/thread/SEvent.hpp | 6 +++--- storm/thread/SSyncObject.hpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/storm/thread/SCritSect.hpp b/storm/thread/SCritSect.hpp index 8ad6b38..f83a592 100644 --- a/storm/thread/SCritSect.hpp +++ b/storm/thread/SCritSect.hpp @@ -23,8 +23,8 @@ class SCritSect { // Member functions SCritSect(); ~SCritSect(); - void Enter(void); - void Leave(void); + void Enter(); + void Leave(); }; #endif diff --git a/storm/thread/SEvent.hpp b/storm/thread/SEvent.hpp index 3c258ee..b181ff0 100644 --- a/storm/thread/SEvent.hpp +++ b/storm/thread/SEvent.hpp @@ -7,9 +7,9 @@ class SEvent : public SSyncObject { public: // Member functions - SEvent(int32_t manualReset, int32_t); - int32_t Reset(void); - int32_t Set(void); + SEvent(int32_t manualReset, int32_t initialValue); + int32_t Reset(); + int32_t Set(); }; #endif diff --git a/storm/thread/SSyncObject.hpp b/storm/thread/SSyncObject.hpp index 232b4d1..655e4c2 100644 --- a/storm/thread/SSyncObject.hpp +++ b/storm/thread/SSyncObject.hpp @@ -28,7 +28,7 @@ class SSyncObject { // Member functions SSyncObject(); - void Close(void); + void Close(); bool Valid(); uint32_t Wait(uint32_t timeoutMs); };