aboutsummaryrefslogtreecommitdiff
path: root/libexec/bootpd/tools
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1999-04-25 22:23:38 +0000
committerWarner Losh <imp@FreeBSD.org>1999-04-25 22:23:38 +0000
commit859663719d47f9d552103f222429ecf7530c4240 (patch)
treeb6e30b3a8c299f184b4e230ca799fc0a4e961a59 /libexec/bootpd/tools
parentbdca080cce757ee7664f9038d18fb25493fc12f5 (diff)
Notes
Diffstat (limited to 'libexec/bootpd/tools')
-rw-r--r--libexec/bootpd/tools/bootpef/bootpef.c5
-rw-r--r--libexec/bootpd/tools/bootptest/bootptest.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/libexec/bootpd/tools/bootpef/bootpef.c b/libexec/bootpd/tools/bootpef/bootpef.c
index c7e927687dbf..c459ac8e6900 100644
--- a/libexec/bootpd/tools/bootpef/bootpef.c
+++ b/libexec/bootpd/tools/bootpef/bootpef.c
@@ -19,7 +19,7 @@ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
- $Id$
+ $Id: bootpef.c,v 1.4 1997/02/22 14:21:18 peter Exp $
************************************************************************/
@@ -136,7 +136,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;
@@ -272,6 +272,7 @@ main(argc, argv)
mktagfile(hp);
hp = (struct host *) hash_NextEntry(nmhashtable);
}
+ return (0);
}
diff --git a/libexec/bootpd/tools/bootptest/bootptest.c b/libexec/bootpd/tools/bootptest/bootptest.c
index 92a38372ffc5..d319426b4aa3 100644
--- a/libexec/bootpd/tools/bootptest/bootptest.c
+++ b/libexec/bootpd/tools/bootptest/bootptest.c
@@ -31,7 +31,7 @@
* 09/28/93 Released version 1.0
* 09/93 Original developed by Gordon W. Ross <gwr@mc.com>
*
- * $Id: bootptest.c,v 1.4 1997/02/22 14:21:20 peter Exp $
+ * $Id: bootptest.c,v 1.5 1997/12/24 18:56:03 imp Exp $
*/
char *usage = "bootptest [-h] server-name [vendor-data-template-file]";
@@ -127,7 +127,7 @@ extern void bootp_print();
* the receiver loop is started. Die when interrupted.
*/
-void
+int
main(argc, argv)
int argc;
char **argv;