summaryrefslogtreecommitdiff
path: root/src/char/loginif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-19 20:18:50 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-19 20:18:50 +0300
commit98f4fcb5ba1819ace7cfe6ad4ac9fdc4e7754ba9 (patch)
treea02c83fefe9a8a9be0931f690accb8128bcb36f5 /src/char/loginif.c
parentfd7cd2c4b768745ef711c0b28b0c7b03ac57e486 (diff)
downloadhercules-98f4fcb5ba1819ace7cfe6ad4ac9fdc4e7754ba9.tar.gz
hercules-98f4fcb5ba1819ace7cfe6ad4ac9fdc4e7754ba9.tar.bz2
hercules-98f4fcb5ba1819ace7cfe6ad4ac9fdc4e7754ba9.tar.xz
hercules-98f4fcb5ba1819ace7cfe6ad4ac9fdc4e7754ba9.zip
Add noreturn attributes.
Also add compiler flag for check for missing noreturn attributes.
Diffstat (limited to 'src/char/loginif.c')
-rw-r--r--src/char/loginif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/char/loginif.c b/src/char/loginif.c
index c577ad791..1e457fcca 100644
--- a/src/char/loginif.c
+++ b/src/char/loginif.c
@@ -39,6 +39,7 @@ struct loginif_interface loginif_s;
struct loginif_interface *loginif;
/// Resets all the data.
+void loginif_reset(void) __attribute__ ((noreturn));
void loginif_reset(void)
{
int id;