summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/rpc')
-rw-r--r--lib/libc/rpc/bindresvport.c4
-rw-r--r--lib/libc/rpc/clnt_generic.c4
-rw-r--r--lib/libc/rpc/svc.c4
-rw-r--r--lib/libc/rpc/svc_run.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/rpc/bindresvport.c b/lib/libc/rpc/bindresvport.c
index 2defe41f1d7..10ee787868c 100644
--- a/lib/libc/rpc/bindresvport.c
+++ b/lib/libc/rpc/bindresvport.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bindresvport.c,v 1.16 2005/04/01 07:44:03 otto Exp $ */
+/* $OpenBSD: bindresvport.c,v 1.17 2005/12/21 01:40:22 millert Exp $ */
/*
* Copyright 1996, Jason Downs. All rights reserved.
@@ -25,9 +25,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <errno.h>
#include <string.h>
#include <sys/types.h>
-#include <sys/errno.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/lib/libc/rpc/clnt_generic.c b/lib/libc/rpc/clnt_generic.c
index 7f23799f418..3bbd3167789 100644
--- a/lib/libc/rpc/clnt_generic.c
+++ b/lib/libc/rpc/clnt_generic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clnt_generic.c,v 1.5 2005/08/08 08:05:35 espie Exp $ */
+/* $OpenBSD: clnt_generic.c,v 1.6 2005/12/21 01:40:22 millert Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -31,10 +31,10 @@
/*
* Copyright (C) 1987, Sun Microsystems, Inc.
*/
+#include <errno.h>
#include <string.h>
#include <rpc/rpc.h>
#include <sys/socket.h>
-#include <sys/errno.h>
#include <netdb.h>
/*
diff --git a/lib/libc/rpc/svc.c b/lib/libc/rpc/svc.c
index 24820521200..9b4b068b25e 100644
--- a/lib/libc/rpc/svc.c
+++ b/lib/libc/rpc/svc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svc.c,v 1.20 2005/08/08 08:05:35 espie Exp $ */
+/* $OpenBSD: svc.c,v 1.21 2005/12/21 01:40:22 millert Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -38,10 +38,10 @@
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#include <errno.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/errno.h>
#include <rpc/rpc.h>
#include <rpc/pmap_clnt.h>
diff --git a/lib/libc/rpc/svc_run.c b/lib/libc/rpc/svc_run.c
index 40afd62a810..c77ba875b8d 100644
--- a/lib/libc/rpc/svc_run.c
+++ b/lib/libc/rpc/svc_run.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svc_run.c,v 1.17 2005/09/10 23:04:26 brad Exp $ */
+/* $OpenBSD: svc_run.c,v 1.18 2005/12/21 01:40:22 millert Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -33,7 +33,7 @@
* Wait for input, call server program.
*/
#include <rpc/rpc.h>
-#include <sys/errno.h>
+#include <errno.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>