summaryrefslogtreecommitdiffstats
path: root/libexec/rbootd/parseconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rbootd/parseconf.c')
-rw-r--r--libexec/rbootd/parseconf.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/libexec/rbootd/parseconf.c b/libexec/rbootd/parseconf.c
index d00436f..e96e927 100644
--- a/libexec/rbootd/parseconf.c
+++ b/libexec/rbootd/parseconf.c
@@ -1,3 +1,5 @@
+/* $NetBSD: parseconf.c,v 1.4 1995/10/06 05:12:16 thorpej Exp $ */
+
/*
* Copyright (c) 1988, 1992 The University of Utah and the Center
* for Software Science (CSS).
@@ -38,14 +40,15 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)parseconf.c 8.1 (Berkeley) 6/4/93
+ * from: @(#)parseconf.c 8.1 (Berkeley) 6/4/93
*
- * Utah $Hdr: parseconf.c 3.1 92/07/06$
+ * From: Utah Hdr: parseconf.c 3.1 92/07/06
* Author: Jeff Forys, University of Utah CSS
*/
#ifndef lint
-static char sccsid[] = "@(#)parseconf.c 8.1 (Berkeley) 6/4/93";
+/*static char sccsid[] = "@(#)parseconf.c 8.1 (Berkeley) 6/4/93";*/
+static char rcsid[] = "$NetBSD: parseconf.c,v 1.4 1995/10/06 05:12:16 thorpej Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -82,7 +85,7 @@ ParseConfig()
{
FILE *fp;
CLIENT *client;
- u_char *addr;
+ u_int8_t *addr;
char line[C_LINELEN];
register char *cp, *bcp;
register int i, j;
@@ -241,13 +244,12 @@ ParseConfig()
** Warnings:
** - The return value points to a static buffer; it must
** be copied if it's to be saved.
-** - For speed, we assume a u_char consists of 8 bits.
*/
-u_char *
+u_int8_t *
ParseAddr(str)
char *str;
{
- static u_char addr[RMP_ADDRLEN];
+ static u_int8_t addr[RMP_ADDRLEN];
register char *cp;
register unsigned i;
register int part, subpart;
OpenPOWER on IntegriCloud