diff options
author | Haru <haru@dotalux.com> | 2016-01-09 19:06:29 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-01-09 19:11:01 +0100 |
commit | 10f9f4282097f177d6ee0b26572dcf4308e6d6fb (patch) | |
tree | 0c010c11403697a03baa4c783366e781a118ebc9 /src/common/mutex.h | |
parent | 25edecdacfba89de097e61fd0958236a8cd90a6b (diff) | |
download | hercules-10f9f4282097f177d6ee0b26572dcf4308e6d6fb.tar.gz hercules-10f9f4282097f177d6ee0b26572dcf4308e6d6fb.tar.bz2 hercules-10f9f4282097f177d6ee0b26572dcf4308e6d6fb.tar.xz hercules-10f9f4282097f177d6ee0b26572dcf4308e6d6fb.zip |
Corrected various zero-argument function definitions
- Functions should always specify their arguments, even if they take
none. In C, not specifying arguments is different than specifying
(void).
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/mutex.h')
-rw-r--r-- | src/common/mutex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/mutex.h b/src/common/mutex.h index 5127d9f4b..e49791493 100644 --- a/src/common/mutex.h +++ b/src/common/mutex.h @@ -32,7 +32,7 @@ typedef struct racond racond; // Condition Var * * @return not NULL */ -ramutex *ramutex_create(); +ramutex *ramutex_create(void); /** * Destroys a Mutex @@ -70,7 +70,7 @@ void ramutex_unlock(ramutex *m); * * @return not NULL */ -racond *racond_create(); +racond *racond_create(void); /** * Destroy a Condition variable |