summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-01-09 19:06:29 +0100
committerHaru <haru@dotalux.com>2016-01-09 19:11:01 +0100
commit10f9f4282097f177d6ee0b26572dcf4308e6d6fb (patch)
tree0c010c11403697a03baa4c783366e781a118ebc9 /src/login
parent25edecdacfba89de097e61fd0958236a8cd90a6b (diff)
downloadhercules-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/login')
-rw-r--r--src/login/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/login.c b/src/login/login.c
index e478d0252..609eb5fe9 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -1701,7 +1701,7 @@ int login_parse_login(int fd)
}
-void login_set_defaults()
+void login_set_defaults(void)
{
login_config.login_ip = INADDR_ANY;
login_config.login_port = 6900;