diff options
author | peter <peter@FreeBSD.org> | 1996-12-30 15:32:43 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-12-30 15:32:43 +0000 |
commit | 83f2eb88bd2e06b1e3089880d507095bef8f2490 (patch) | |
tree | fb897679a9be4f898fac520c45adb245111d75bf /usr.sbin/ypserv | |
parent | 2d65710e3608a9dd73ac27c0316aa1a8339d116e (diff) | |
download | FreeBSD-src-83f2eb88bd2e06b1e3089880d507095bef8f2490.zip FreeBSD-src-83f2eb88bd2e06b1e3089880d507095bef8f2490.tar.gz |
Fix harmless bug found by new pointer-to-function prototypes.
Diffstat (limited to 'usr.sbin/ypserv')
-rw-r--r-- | usr.sbin/ypserv/yp_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ypserv/yp_main.c b/usr.sbin/ypserv/yp_main.c index b172180..e76b575 100644 --- a/usr.sbin/ypserv/yp_main.c +++ b/usr.sbin/ypserv/yp_main.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: yp_main.c,v 1.5 1996/12/24 07:52:52 wpaul Exp $ + * $Id: yp_main.c,v 1.10 1996/12/25 18:10:34 wpaul Exp $ */ /* @@ -66,7 +66,7 @@ #define _RPCSVC_CLOSEDOWN 120 #ifndef lint -static const char rcsid[] = "$Id: yp_main.c,v 1.5 1996/12/24 07:52:52 wpaul Exp $"; +static const char rcsid[] = "$Id: yp_main.c,v 1.10 1996/12/25 18:10:34 wpaul Exp $"; #endif /* not lint */ int _rpcpmstart; /* Started by a port monitor ? */ static int _rpcfdtype; @@ -77,8 +77,8 @@ static int _rpcfdtype; #define _SERVED 1 #define _SERVING 2 -extern void ypprog_1 __P((struct svc_req, register SVCXPRT)); -extern void ypprog_2 __P((struct svc_req, register SVCXPRT)); +extern void ypprog_1 __P((struct svc_req *, register SVCXPRT *)); +extern void ypprog_2 __P((struct svc_req *, register SVCXPRT *)); extern int _rpc_dtablesize __P((void)); extern int _rpcsvcstate; /* Set when a request is serviced */ char *progname = "ypserv"; |