summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-09 08:14:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-09 08:14:52 +0000
commit6ec6ea839542b35aa3c80ec10bf80966d0ea0736 (patch)
tree95712f5819a476881baa26e3ceb7fa0ccd1cc950
parent42ad140f38acd90be1b3ed1251aea4bddcc9fc8a (diff)
main() _always_ returns int!
-rw-r--r--libexec/smtpd/src/smtpd.c6
-rw-r--r--libexec/smtpd/src/smtpfwdd.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/libexec/smtpd/src/smtpd.c b/libexec/smtpd/src/smtpd.c
index f694032fb2c..389ec7c06d6 100644
--- a/libexec/smtpd/src/smtpd.c
+++ b/libexec/smtpd/src/smtpd.c
@@ -2,7 +2,7 @@
* smtpd, Obtuse SMTP daemon, storing agent. does simple collection of
* mail messages, for later forwarding by smtpfwdd.
*
- * $Id: smtpd.c,v 1.4 1998/02/07 21:29:40 beck Exp $
+ * $Id: smtpd.c,v 1.5 1998/03/09 08:14:49 deraadt Exp $
*
* Copyright (c) 1996, 1997 Obtuse Systems Corporation. All rights
* reserved.
@@ -40,7 +40,7 @@
char *obtuse_copyright =
"Copyright 1996 - Obtuse Systems Corporation - All rights reserved.";
-char *obtuse_rcsid = "$Id: smtpd.c,v 1.4 1998/02/07 21:29:40 beck Exp $";
+char *obtuse_rcsid = "$Id: smtpd.c,v 1.5 1998/03/09 08:14:49 deraadt Exp $";
#include <stdarg.h>
#include <stdlib.h>
@@ -1965,7 +1965,7 @@ snarfdata(int in, int out, long *size, int bin)
* The brains of this operation
*/
-void
+int
main(int argc, char **argv)
{
int opt;
diff --git a/libexec/smtpd/src/smtpfwdd.c b/libexec/smtpd/src/smtpfwdd.c
index dc7dce5dfe5..b166707eb67 100644
--- a/libexec/smtpd/src/smtpfwdd.c
+++ b/libexec/smtpd/src/smtpfwdd.c
@@ -4,7 +4,7 @@
* to pick it up and invokes sendmail (or sendmail-like agent) to
* deliver it.
*
- * $Id: smtpfwdd.c,v 1.1 1997/12/12 05:50:27 beck Exp $
+ * $Id: smtpfwdd.c,v 1.2 1998/03/09 08:14:51 deraadt Exp $
*
* Copyright (c) 1996, 1997 Obtuse Systems Corporation. All rights
* reserved.
@@ -41,7 +41,7 @@
*/
char *obtuse_copyright =
"Copyright 1996 - Obtuse Systems Corporation - All rights reserved.";
-char *obtuse_rcsid = "$Id: smtpfwdd.c,v 1.1 1997/12/12 05:50:27 beck Exp $";
+char *obtuse_rcsid = "$Id: smtpfwdd.c,v 1.2 1998/03/09 08:14:51 deraadt Exp $";
#include <stdio.h>
#include <signal.h>
@@ -760,7 +760,7 @@ forward(char *fname)
* The brains of this operation
*/
-void
+int
main(int argc, char **argv)
{
int opt;