summaryrefslogtreecommitdiff
path: root/src/unix
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-03 20:05:08 +0100
committerMax Kellermann <max@duempel.org>2015-03-03 20:05:08 +0100
commit1c90b0c19dff120fb4fd8acf413ddbdf16addf28 (patch)
tree11328a0e5b4df0059e6002398bbd383864e45506 /src/unix
parentcd776ff1a8ae0b0c2ef0068c0ee81332cddac134 (diff)
*: change C-style prototypes, drop "(void)"
Diffstat (limited to 'src/unix')
-rw-r--r--src/unix/Daemon.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/unix/Daemon.hxx b/src/unix/Daemon.hxx
index 40db4e8d7..5937705ce 100644
--- a/src/unix/Daemon.hxx
+++ b/src/unix/Daemon.hxx
@@ -33,10 +33,10 @@ daemonize_init(const char *user, const char *group, AllocatedPath &&pidfile)
#ifndef WIN32
void
-daemonize_finish(void);
+daemonize_finish();
#else
static inline void
-daemonize_finish(void)
+daemonize_finish()
{ /* nop */ }
#endif
@@ -46,11 +46,11 @@ daemonize_finish(void)
*/
#ifndef WIN32
void
-daemonize_kill(void);
+daemonize_kill();
#else
#include "system/FatalError.hxx"
static inline void
-daemonize_kill(void)
+daemonize_kill()
{
FatalError("--kill is not available on WIN32");
}
@@ -61,10 +61,10 @@ daemonize_kill(void)
*/
#ifndef WIN32
void
-daemonize_close_stdin(void);
+daemonize_close_stdin();
#else
static inline void
-daemonize_close_stdin(void) {}
+daemonize_close_stdin() {}
#endif
/**
@@ -72,10 +72,10 @@ daemonize_close_stdin(void) {}
*/
#ifndef WIN32
void
-daemonize_set_user(void);
+daemonize_set_user();
#else
static inline void
-daemonize_set_user(void)
+daemonize_set_user()
{ /* nop */ }
#endif