summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-05-27 00:37:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-05-27 00:37:13 +0000
commit9d16b9c3f0cb5e2b74f82c9f7fca24835410a31b (patch)
tree978e7ec2c14589bf34666de031d4620df860a93d /cpukit/librpc
parent8d3dd7a498690981bd345e7552e794e9e347dceb (diff)
downloadrtems-9d16b9c3f0cb5e2b74f82c9f7fca24835410a31b.tar.bz2
2005-05-26 Joel Sherrill <joel@OARcorp.com>
* libnetworking/lib/ftpfs.c, librpc/include/rpc/svc.h, librpc/src/rpc/get_myaddress.c, librpc/src/rpc/pmap_getmaps.c, librpc/src/rpc/pmap_getport.c: Remove warnings.
Diffstat (limited to 'cpukit/librpc')
-rw-r--r--cpukit/librpc/include/rpc/svc.h2
-rw-r--r--cpukit/librpc/src/rpc/get_myaddress.c1
-rw-r--r--cpukit/librpc/src/rpc/pmap_getmaps.c1
-rw-r--r--cpukit/librpc/src/rpc/pmap_getport.c1
4 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/librpc/include/rpc/svc.h b/cpukit/librpc/include/rpc/svc.h
index 03928ff007..4ba04a5894 100644
--- a/cpukit/librpc/include/rpc/svc.h
+++ b/cpukit/librpc/include/rpc/svc.h
@@ -93,7 +93,7 @@ typedef struct __rpc_svcxprt {
/* destroy this struct */
void (*xp_destroy)(struct __rpc_svcxprt *);
} *xp_ops;
- int xp_addrlen; /* length of remote address */
+ socklen_t xp_addrlen; /* length of remote address */
struct sockaddr_in xp_raddr; /* remote addr. (backward ABI compat) */
struct opaque_auth xp_verf; /* raw response verifier */
void *xp_p1; /* private: for use by svc ops */
diff --git a/cpukit/librpc/src/rpc/get_myaddress.c b/cpukit/librpc/src/rpc/get_myaddress.c
index 8e951f559e..869bd51be4 100644
--- a/cpukit/librpc/src/rpc/get_myaddress.c
+++ b/cpukit/librpc/src/rpc/get_myaddress.c
@@ -46,6 +46,7 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/get_myaddress.c,v 1.17 2000/01/
#include <sys/socket.h>
#include <stdio.h>
#include <unistd.h>
+#include <sys/mbuf.h>
#include <net/if.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
diff --git a/cpukit/librpc/src/rpc/pmap_getmaps.c b/cpukit/librpc/src/rpc/pmap_getmaps.c
index 3a5f6aa16e..7585d683cd 100644
--- a/cpukit/librpc/src/rpc/pmap_getmaps.c
+++ b/cpukit/librpc/src/rpc/pmap_getmaps.c
@@ -49,6 +49,7 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/pmap_getmaps.c,v 1.11 2000/01/2
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
+#include <sys/mbuf.h>
#include <net/if.h>
#include <sys/ioctl.h>
#define NAMELEN 255
diff --git a/cpukit/librpc/src/rpc/pmap_getport.c b/cpukit/librpc/src/rpc/pmap_getport.c
index 4029f1e5b9..31fa7689b9 100644
--- a/cpukit/librpc/src/rpc/pmap_getport.c
+++ b/cpukit/librpc/src/rpc/pmap_getport.c
@@ -44,6 +44,7 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/pmap_getport.c,v 1.10 2000/01/2
#include <rpc/pmap_prot.h>
#include <rpc/pmap_clnt.h>
#include <sys/socket.h>
+#include <sys/mbuf.h>
#include <net/if.h>
#include <unistd.h>