diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-22 09:24:32 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-22 09:24:32 +0000 |
commit | 90097b6f6ed53c295f60825994fc636c307b564a (patch) | |
tree | 0e0feefbdcd692ee94cfd03d2dbbfa5155108bb2 /usr.sbin | |
parent | 37747b24dab9f726f10fe346818652644f356640 (diff) |
fix main() type
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bootpd/bootpef.c | 4 | ||||
-rw-r--r-- | usr.sbin/bootpd/hwaddr.c | 1 | ||||
-rw-r--r-- | usr.sbin/bootpd/trygetea.c | 1 | ||||
-rw-r--r-- | usr.sbin/bootpd/trygetif.c | 1 | ||||
-rw-r--r-- | usr.sbin/bootpd/trylook.c | 1 |
5 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/bootpd/bootpef.c b/usr.sbin/bootpd/bootpef.c index 5181c09eb07..f41fd97b561 100644 --- a/usr.sbin/bootpd/bootpef.c +++ b/usr.sbin/bootpd/bootpef.c @@ -21,7 +21,7 @@ SOFTWARE. ************************************************************************/ #ifndef lint -static char rcsid[] = "$Id: bootpef.c,v 1.1 1995/10/18 08:47:26 deraadt Exp $"; +static char rcsid[] = "$Id: bootpef.c,v 1.2 1996/08/22 09:24:28 deraadt Exp $"; #endif @@ -139,7 +139,7 @@ usage() * Initialization such as command-line processing is done and then the * main server loop is started. */ -void +int main(argc, argv) int argc; char **argv; diff --git a/usr.sbin/bootpd/hwaddr.c b/usr.sbin/bootpd/hwaddr.c index 10a6a0518d8..d3385166b36 100644 --- a/usr.sbin/bootpd/hwaddr.c +++ b/usr.sbin/bootpd/hwaddr.c @@ -259,6 +259,7 @@ bitrev(n) return r; } +int main() { int i; diff --git a/usr.sbin/bootpd/trygetea.c b/usr.sbin/bootpd/trygetea.c index e9314aede96..e69120d3f8d 100644 --- a/usr.sbin/bootpd/trygetea.c +++ b/usr.sbin/bootpd/trygetea.c @@ -21,6 +21,7 @@ int debug = 0; char *progname; +int main(argc, argv) char **argv; { diff --git a/usr.sbin/bootpd/trygetif.c b/usr.sbin/bootpd/trygetif.c index 894f17b6e91..59cef539fa3 100644 --- a/usr.sbin/bootpd/trygetif.c +++ b/usr.sbin/bootpd/trygetif.c @@ -23,6 +23,7 @@ int debug = 0; char *progname; +int main(argc, argv) char **argv; { diff --git a/usr.sbin/bootpd/trylook.c b/usr.sbin/bootpd/trylook.c index 40652a21159..24349cb3d03 100644 --- a/usr.sbin/bootpd/trylook.c +++ b/usr.sbin/bootpd/trylook.c @@ -15,6 +15,7 @@ extern char *inet_ntoa(); int debug = 0; char *progname; +int main(argc, argv) char **argv; { |