Changeset ddb56f4 in rtems for cpukit/librpc/include


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/include/rpc/rpc.h

    r56c4cae rddb56f4  
    104104        int             svc_svc_maxfd;
    105105        fd_set          svc_svc_fdset;
    106         void            *svc_xports;
     106        SVCXPRT **      svc_xports;
    107107        int             svc_xportssize;
    108108        int             svc__svc_fdsetsize;
    109         void            *svc__svc_fdset;
    110         void            *svc_svc_head;
     109        fd_set          *svc__svc_fdset;
     110        struct svc_callout      *svc_svc_head;
    111111
    112         void            *clnt_perror_buf;
     112        char            *clnt_perror_buf;
    113113
    114         void            *clnt_raw_private;
     114        struct clnt_raw_private *clnt_raw_private;
    115115
    116116        void            *call_rpc_private;
    117117
    118         void            *svc_raw_private;
     118        struct call_rpc_private *svc_raw_private;
    119119
    120         void            *svc_simple_proglst;
    121         void            *svc_simple_pl;
    122         void            *svc_simple_transp;
     120        struct prog_lst *svc_simple_proglst;
     121        struct prog_lst *svc_simple_pl;
     122        SVCXPRT         *svc_simple_transp;
    123123
    124         void            *rpcdname_default_domain;
     124        char            *rpcdname_default_domain;
    125125
    126         void            *svc_auths_Auths;
     126        struct authsvc *svc_auths_Auths;
    127127};
    128128extern struct _rtems_rpc_task_variables *rtems_rpc_task_variables;
    129129
    130130#define svc_maxfd (rtems_rpc_task_variables->svc_svc_maxfd)
    131 #define svc_fdset ((rtems_rpc_task_variables)->svc_svc_fdset)
     131#define svc_fdset (rtems_rpc_task_variables->svc_svc_fdset)
    132132#define __svc_fdsetsize (rtems_rpc_task_variables->svc__svc_fdsetsize)
    133 #define __svc_fdset (fd_set *)(rtems_rpc_task_variables->svc__svc_fdset)
     133#define __svc_fdset (rtems_rpc_task_variables->svc__svc_fdset)
    134134
    135135#endif /* _RTEMS_RPC_INTERNAL_ */
Note: See TracChangeset for help on using the changeset viewer.