WARNSify; generate ansi c code with rpcgen, cleanup manpage

This commit is contained in:
lukem 1997-10-17 15:59:05 +00:00
parent 03e194f678
commit 6d66b6be40
3 changed files with 12 additions and 13 deletions

View File

@ -1,11 +1,10 @@
# $NetBSD: Makefile,v 1.13 1997/05/31 21:22:15 cjs Exp $
CFLAGS+=-DYP
# $NetBSD: Makefile,v 1.14 1997/10/17 15:59:05 lukem Exp $
PROG= rpc.bootparamd
SRCS= bootparamd.c bootparam_prot_svc.c
MAN= bootparams.5 rpc.bootparamd.8
MLINKS= rpc.bootparamd.8 bootparamd.8
CFLAGS+=-DYP
DPADD= ${LIBRPCSVC}
LDADD= -lrpcsvc
@ -15,7 +14,7 @@ bootparam_prot_svc.c: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
ln -s ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x .
rm -f bootparam_prot.h
ln -s ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.h .
rpcgen -m -o $@ bootparam_prot.x
rpcgen -C -L -m -o ${.TARGET} bootparam_prot.x
CLEANFILES += bootparam_prot_svc.c bootparam_prot.x bootparam_prot.h

View File

@ -1,4 +1,4 @@
.\" $NetBSD: bootparams.5,v 1.6 1997/04/23 00:28:03 mrg Exp $
.\" $NetBSD: bootparams.5,v 1.7 1997/10/17 15:59:11 lukem Exp $
.\"
.\" Copyright (c) 1994 Gordon W. Ross
.\" All rights reserved.
@ -35,18 +35,18 @@
.Nm /etc/bootparams
.Sh DESCRIPTION
The
.Nm bootparams
.Nm
file specifies the boot parameters that
.Xr diskless
clients may request when booting over the network.
Each client supported by this server must have an entry in the
.Nm bootparams
.Nm
file containing the servers and pathnames for its
.Nm root ,
.Pa root ,
area. It may optionally contain
.Nm swap
.Pa swap
and
.Nm dump
.Pa dump
areas.
.Pp
Each line in the file

View File

@ -1,4 +1,4 @@
.\" $NetBSD: rpc.bootparamd.8,v 1.7 1997/08/19 04:20:40 mikel Exp $
.\" $NetBSD: rpc.bootparamd.8,v 1.8 1997/10/17 15:59:16 lukem Exp $
.\" @(#)bootparamd.8
.Dd Jan 8, 1994
.Dt BOOTPARAMD 8
@ -8,13 +8,13 @@
.Nm rpc.bootparamd
.Nd boot parameter server
.Sh SYNOPSIS
.Nm /usr/sbin/rpc.bootparamd
.Nm
.Op Fl d
.Op Fl s
.Op Fl r Ar router
.Op Fl f Ar file
.Sh DESCRIPTION
.Nm \&Bootparamd
.Nm
is a server process that provides information to diskless clients
necessary for booting. It consults the file
.Dq Pa /etc/bootparams .