mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-29 16:00:17 +00:00
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.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
||||
2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* librpc/include/rpc/clnt.h, librpc/include/rpc/svc.h,
|
||||
|
||||
@@ -538,7 +538,7 @@ int rtems_ftp_open(
|
||||
rtems_boolean is_write = FALSE;
|
||||
rtems_boolean sema_obtained = FALSE;
|
||||
struct ftpStream *fsp = NULL;
|
||||
int msg_tmp;
|
||||
int msg_tmp = 0;
|
||||
socklen_t sockaddr_size;
|
||||
/*
|
||||
* check for R/O or W/O flags
|
||||
@@ -970,7 +970,7 @@ ssize_t rtems_ftp_read(
|
||||
struct ftpStream *fsp;
|
||||
size_t want_cnt;
|
||||
ssize_t rd_cnt;
|
||||
int msg_tmp;
|
||||
int msg_tmp = 0;
|
||||
|
||||
fsp = iop->data1;
|
||||
want_cnt = count;
|
||||
@@ -1024,7 +1024,7 @@ ssize_t rtems_ftp_write(
|
||||
struct ftpStream *fsp;
|
||||
size_t want_cnt;
|
||||
ssize_t wr_cnt;
|
||||
int msg_tmp;
|
||||
int msg_tmp = 0;
|
||||
|
||||
fsp = iop->data1;
|
||||
want_cnt = count;
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user