diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-05-27 07:31:49 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-05-27 07:31:49 +0000 |
commit | 375c39a3584fca05b996d20a02f6c41f442428d4 (patch) | |
tree | d8fefc2aeda20ab2d383a236c2d8e28336e65aa7 | |
parent | 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-375c39a3584fca05b996d20a02f6c41f442428d4.tar.bz2 |
2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/sys/socketvar.h (struct sockbuf):
Use void* instead of caddr_t.
-rw-r--r-- | cpukit/ChangeLog | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/sys/socketvar.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 9b99461dec..d475b9634f 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,7 @@ 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: Use address to rpciod in calls to rxWakeupCB. * libnetworking/sys/socket.h (struct sockwakeup): diff --git a/cpukit/libnetworking/sys/socketvar.h b/cpukit/libnetworking/sys/socketvar.h index 119d9834d5..ae2de405a2 100644 --- a/cpukit/libnetworking/sys/socketvar.h +++ b/cpukit/libnetworking/sys/socketvar.h @@ -90,8 +90,8 @@ struct socket { struct selinfo sb_sel; /* process selecting read/write */ short sb_flags; /* flags, see below */ int sb_timeo; /* timeout for read/write */ - void (*sb_wakeup)(struct socket *, caddr_t); - caddr_t sb_wakeuparg; /* arg for above */ + void (*sb_wakeup)(struct socket *, void *); + void *sb_wakeuparg; /* arg for above */ } so_rcv, so_snd; #define SB_MAX (256L*1024L) /* default for max chars in sockbuf */ #define SB_LOCK 0x01 /* lock on data queue */ |