Ignore:
Timestamp:
May 27, 2010, 4:14:17 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
375c39a
Parents:
e7583f67
Message:

2010-05-27 Ralf Corsépius <ralf.corsepius@…>

  • libfs/src/nfsclient/src/rpcio.c: Use address to rpciod in calls to rxWakeupCB.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/nfsclient/src/rpcio.c

    re7583f67 r0bf68a5  
    922922 */
    923923static void
    924 rxWakeupCB(struct socket *sock, caddr_t arg)
    925 {
    926 rtems_event_send((rtems_id)arg, RPCIOD_RX_EVENT);
     924rxWakeupCB(struct socket *sock, void *arg)
     925{
     926  rtems_id *rpciod = (rtems_id*) arg;
     927  rtems_event_send(*rpciod, RPCIOD_RX_EVENT);
    927928}
    928929
     
    967968
    968969                        wkup.sw_pfn = rxWakeupCB;
    969                         wkup.sw_arg = (caddr_t)rpciod;
     970                        wkup.sw_arg = &rpciod;
    970971                        assert( 0==setsockopt(ourSock, SOL_SOCKET, SO_RCVWAKEUP, &wkup, sizeof(wkup)) );
    971972                        status = rtems_message_queue_create(
Note: See TracChangeset for help on using the changeset viewer.