Changeset 12c21c8 in rtems


Ignore:
Timestamp:
Aug 1, 2008, 2:29:11 PM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
7013243
Parents:
5391ed5
Message:

Add missing prototypes.

Location:
cpukit/librpc/src/rpc
Files:
2 edited

Legend:

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

    r5391ed5 r12c21c8  
    5757#define svcraw_private ((struct svc_raw_private *)(rtems_rpc_task_variables)->svc_raw_private)
    5858
    59 static bool_t           svcraw_recv();
    60 static enum xprt_stat   svcraw_stat();
    61 static bool_t           svcraw_getargs();
    62 static bool_t           svcraw_reply();
    63 static bool_t           svcraw_freeargs();
    64 static void             svcraw_destroy();
     59static bool_t           svcraw_recv(SVCXPRT *xprt, struct rpc_msg *msg);
     60static enum xprt_stat   svcraw_stat(SVCXPRT *xprt);
     61static bool_t           svcraw_getargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr);
     62static bool_t           svcraw_reply(SVCXPRT *xprt, struct rpc_msg *msg);
     63static bool_t           svcraw_freeargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr);
     64static void             svcraw_destroy(SVCXPRT *xprt);
    6565
    6666static struct xp_ops server_ops = {
     
    7474
    7575SVCXPRT *
    76 svcraw_create()
     76svcraw_create(void)
    7777{
    7878        register struct svc_raw_private *srp = svcraw_private;
     
    9292
    9393static enum xprt_stat
    94 svcraw_stat()
     94svcraw_stat(SVCXPRT *xprt)
    9595{
    9696
     
    165165
    166166static void
    167 svcraw_destroy()
     167svcraw_destroy(SVCXPRT *xprt)
    168168{
    169169}
  • cpukit/librpc/src/rpc/svc_tcp.c

    r5391ed5 r12c21c8  
    5757 * Ops vector for TCP/IP based rpc service handle
    5858 */
    59 static bool_t           svctcp_recv();
    60 static enum xprt_stat   svctcp_stat();
    61 static bool_t           svctcp_getargs();
    62 static bool_t           svctcp_reply();
    63 static bool_t           svctcp_freeargs();
    64 static void             svctcp_destroy();
     59static bool_t           svctcp_recv(SVCXPRT *xprt, struct rpc_msg *msg);
     60static enum xprt_stat   svctcp_stat(SVCXPRT *xprt);
     61static bool_t           svctcp_getargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr);
     62static bool_t           svctcp_reply(SVCXPRT *xprt, struct rpc_msg *msg);
     63static bool_t           svctcp_freeargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr);
     64static void             svctcp_destroy(SVCXPRT *xprt);
    6565
    6666static struct xp_ops svctcp_op = {
     
    7676 * Ops vector for TCP/IP rendezvous handler
    7777 */
    78 static bool_t           rendezvous_request();
    79 static enum xprt_stat   rendezvous_stat();
     78static bool_t           rendezvous_request(SVCXPRT *xprt, struct rpc_msg *msg);
     79static enum xprt_stat   rendezvous_stat(SVCXPRT *xprt);
    8080
    8181static struct xp_ops svctcp_rendezvous_op = {
    8282        rendezvous_request,
    8383        rendezvous_stat,
    84         (bool_t (*)())abort,
    85         (bool_t (*)())abort,
    86         (bool_t (*)())abort,
     84        (bool_t (*)(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr))abort,
     85        (bool_t (*)(SVCXPRT *xprt, struct rpc_msg *msg))abort,
     86        (bool_t (*)(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr))abort,
    8787        svctcp_destroy
    8888};
     
    238238static bool_t
    239239rendezvous_request(
    240         SVCXPRT *xprt)
     240        SVCXPRT *xprt,
     241        struct rpc_msg *msg)
    241242{
    242243        int sock;
     
    280281
    281282static enum xprt_stat
    282 rendezvous_stat()
     283rendezvous_stat(SVCXPRT *xprt)
    283284{
    284285
Note: See TracChangeset for help on using the changeset viewer.