forked from Imagelibrary/rtems
2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/sys/socketvar.h (struct sockbuf): Use void* instead of caddr_t.
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* libnetworking/sys/socketvar.h (struct sockbuf):
|
||||||
|
Use void* instead of caddr_t.
|
||||||
* libfs/src/nfsclient/src/rpcio.c:
|
* libfs/src/nfsclient/src/rpcio.c:
|
||||||
Use address to rpciod in calls to rxWakeupCB.
|
Use address to rpciod in calls to rxWakeupCB.
|
||||||
* libnetworking/sys/socket.h (struct sockwakeup):
|
* libnetworking/sys/socket.h (struct sockwakeup):
|
||||||
|
|||||||
@@ -90,8 +90,8 @@ struct socket {
|
|||||||
struct selinfo sb_sel; /* process selecting read/write */
|
struct selinfo sb_sel; /* process selecting read/write */
|
||||||
short sb_flags; /* flags, see below */
|
short sb_flags; /* flags, see below */
|
||||||
int sb_timeo; /* timeout for read/write */
|
int sb_timeo; /* timeout for read/write */
|
||||||
void (*sb_wakeup)(struct socket *, caddr_t);
|
void (*sb_wakeup)(struct socket *, void *);
|
||||||
caddr_t sb_wakeuparg; /* arg for above */
|
void *sb_wakeuparg; /* arg for above */
|
||||||
} so_rcv, so_snd;
|
} so_rcv, so_snd;
|
||||||
#define SB_MAX (256L*1024L) /* default for max chars in sockbuf */
|
#define SB_MAX (256L*1024L) /* default for max chars in sockbuf */
|
||||||
#define SB_LOCK 0x01 /* lock on data queue */
|
#define SB_LOCK 0x01 /* lock on data queue */
|
||||||
|
|||||||
Reference in New Issue
Block a user