Changeset ddb56f4 in rtems for cpukit/librpc/src/rpc/svc.c


Ignore:
Timestamp:
Nov 21, 2004, 4:45:39 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
5220ae2
Parents:
56c4cae
Message:

2004-11-21 Ralf Corsepius <ralf.corsepius@…>

  • librpc/include/rpc/rpc.h (struct _rtems_rpc_task_variables): Use pointers to types instead of void* to avoid casts.
  • librpc/src/rpc/clnt_perror.c, librpc/src/rpc/clnt_raw.c, librpc/src/rpc/clnt_simple.c, librpc/src/rpc/rpcdname.c, librpc/src/rpc/svc.c, librpc/src/rpc/svc_auth.c, librpc/src/rpc/svc_simple.c: Eliminate lvalue casts gcc-3.4 warns about.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/librpc/src/rpc/svc.c

    r56c4cae rddb56f4  
    5050#include <rpc/pmap_clnt.h>
    5151
    52 #define xports ((SVCXPRT **) rtems_rpc_task_variables->svc_xports)
     52#define xports (rtems_rpc_task_variables->svc_xports)
    5353#define xportssize (rtems_rpc_task_variables->svc_xportssize)
    5454
     
    7070        void                (*sc_dispatch)();
    7171};
    72 #define svc_head (struct svc_callout *)((rtems_rpc_task_variables)->svc_svc_head)
     72#define svc_head (rtems_rpc_task_variables->svc_svc_head)
    7373
    7474static struct svc_callout *svc_find();
Note: See TracChangeset for help on using the changeset viewer.