nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit cd8193f4bfaaa2650c2472763ec6bf41ae882539
parent ecf4d7faa041aed1345f47d931f0e2e8fa6a6b70
Author: Rolf Eike Beer <eike@sf-mail.de>
Date:   Tue, 20 Aug 2019 21:08:44 +0200

add missing return types to main()

Diffstat:
MCHANGES | 1+
Mqmail-qmqpc.c | 1+
Mqmail-qmqpd.c | 1+
Mqmail-qmtpd.c | 1+
Mtrylsock.c | 3++-
Mtryrsolv.c | 3++-
Mtrysyslog.c | 2++
7 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/CHANGES b/CHANGES @@ -1,3 +1,4 @@ +20191226 add missing return types to main() 20190919 fix ipme with multiple addresses on the same interface on platforms without sa_len 20190904 code: use stdint.h to get the definition for uint32 diff --git a/qmail-qmqpc.c b/qmail-qmqpc.c @@ -135,6 +135,7 @@ char *server; stralloc servers = {0}; +void main() { int i; diff --git a/qmail-qmqpd.c b/qmail-qmqpd.c @@ -107,6 +107,7 @@ int getbuf() int flagok = 1; +void main() { char *result; diff --git a/qmail-qmtpd.c b/qmail-qmtpd.c @@ -75,6 +75,7 @@ stralloc failure = {0}; char *relayclient; int relayclientlen; +void main() { char ch; diff --git a/trylsock.c b/trylsock.c @@ -1,4 +1,5 @@ +int main() { - ; + return 0; } diff --git a/tryrsolv.c b/tryrsolv.c @@ -1,4 +1,5 @@ +int main() { - ; + return 0; } diff --git a/trysyslog.c b/trysyslog.c @@ -2,8 +2,10 @@ #include <sys/time.h> #include <syslog.h> +int main() { openlog("foo",0,LOG_MAIL); syslog(0,"foo"); + return 0; }