summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-08-26 13:39:37 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-08-26 13:39:37 +0000
commit2a670a3b51bed4392bb73d0eafa189319f8512e2 (patch)
tree1b40e4a912d0e9f877677f2ba13e67d0e301aaef /sbin
parent6eb35eb38ba1ebf5970e1ff99e2070afde67c396 (diff)
main should return int
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipsec/photurisd/photurisd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/ipsec/photurisd/photurisd.c b/sbin/ipsec/photurisd/photurisd.c
index 485e26a384c..bb6fcaf60b2 100644
--- a/sbin/ipsec/photurisd/photurisd.c
+++ b/sbin/ipsec/photurisd/photurisd.c
@@ -32,7 +32,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: photurisd.c,v 1.3 1997/07/24 23:47:18 provos Exp $";
+static char rcsid[] = "$Id: photurisd.c,v 1.4 1997/08/26 13:39:36 niklas Exp $";
#endif
#define _PHOTURIS_C_
@@ -107,7 +107,8 @@ init_vars(void)
return 1;
}
-void main(int argc, char **argv)
+int
+main(int argc, char **argv)
{
int ch;
int primes = 0, ignore = 0;