mirror of
https://github.com/omar-polo/gmid.git
synced 2024-09-27 21:11:51 +02:00
avoid __dead and return at the end of main
This commit is contained in:
parent
796c6e75d7
commit
0d7a38c4ce
5
gmid.c
5
gmid.c
@ -71,7 +71,8 @@ safe_setenv(const char *name, const char *val)
|
||||
}
|
||||
|
||||
__attribute__ ((format (printf, 1, 2)))
|
||||
static inline void __dead
|
||||
__attribute__ ((__noreturn__))
|
||||
static inline void
|
||||
fatal(const char *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
@ -992,4 +993,6 @@ main(int argc, char **argv)
|
||||
close(sock6);
|
||||
tls_free(ctx);
|
||||
tls_config_free(conf);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user