unistd.h for prototypes

This commit is contained in:
cgd 1996-12-20 20:48:17 +00:00
parent ebd5bdf6d5
commit 9fc875ff77
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: clnt_tcp.c,v 1.5 1996/12/17 03:55:20 mrg Exp $ */
/* $NetBSD: clnt_tcp.c,v 1.6 1996/12/20 20:48:17 cgd Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@ -32,7 +32,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro";*/
/*static char *sccsid = "from: @(#)clnt_tcp.c 2.2 88/08/01 4.0 RPCSRC";*/
static char *rcsid = "$NetBSD: clnt_tcp.c,v 1.5 1996/12/17 03:55:20 mrg Exp $";
static char *rcsid = "$NetBSD: clnt_tcp.c,v 1.6 1996/12/20 20:48:17 cgd Exp $";
#endif
/*
@ -59,6 +59,7 @@ static char *rcsid = "$NetBSD: clnt_tcp.c,v 1.5 1996/12/17 03:55:20 mrg Exp $";
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <rpc/rpc.h>
#include <sys/socket.h>
#include <netdb.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: svc_tcp.c,v 1.7 1996/12/17 03:55:38 mrg Exp $ */
/* $NetBSD: svc_tcp.c,v 1.8 1996/12/20 20:48:19 cgd Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@ -32,7 +32,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro";*/
/*static char *sccsid = "from: @(#)svc_tcp.c 2.2 88/08/01 4.0 RPCSRC";*/
static char *rcsid = "$NetBSD: svc_tcp.c,v 1.7 1996/12/17 03:55:38 mrg Exp $";
static char *rcsid = "$NetBSD: svc_tcp.c,v 1.8 1996/12/20 20:48:19 cgd Exp $";
#endif
/*
@ -51,6 +51,7 @@ static char *rcsid = "$NetBSD: svc_tcp.c,v 1.7 1996/12/17 03:55:38 mrg Exp $";
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <rpc/rpc.h>
#include <sys/socket.h>
#include <errno.h>