mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Add missing prototypes.
This commit is contained in:
@@ -56,12 +56,12 @@ struct svc_raw_private {
|
||||
};
|
||||
#define svcraw_private ((struct svc_raw_private *)(rtems_rpc_task_variables)->svc_raw_private)
|
||||
|
||||
static bool_t svcraw_recv();
|
||||
static enum xprt_stat svcraw_stat();
|
||||
static bool_t svcraw_getargs();
|
||||
static bool_t svcraw_reply();
|
||||
static bool_t svcraw_freeargs();
|
||||
static void svcraw_destroy();
|
||||
static bool_t svcraw_recv(SVCXPRT *xprt, struct rpc_msg *msg);
|
||||
static enum xprt_stat svcraw_stat(SVCXPRT *xprt);
|
||||
static bool_t svcraw_getargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr);
|
||||
static bool_t svcraw_reply(SVCXPRT *xprt, struct rpc_msg *msg);
|
||||
static bool_t svcraw_freeargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr);
|
||||
static void svcraw_destroy(SVCXPRT *xprt);
|
||||
|
||||
static struct xp_ops server_ops = {
|
||||
svcraw_recv,
|
||||
@@ -73,7 +73,7 @@ static struct xp_ops server_ops = {
|
||||
};
|
||||
|
||||
SVCXPRT *
|
||||
svcraw_create()
|
||||
svcraw_create(void)
|
||||
{
|
||||
register struct svc_raw_private *srp = svcraw_private;
|
||||
|
||||
@@ -91,7 +91,7 @@ svcraw_create()
|
||||
}
|
||||
|
||||
static enum xprt_stat
|
||||
svcraw_stat()
|
||||
svcraw_stat(SVCXPRT *xprt)
|
||||
{
|
||||
|
||||
return (XPRT_IDLE);
|
||||
@@ -164,6 +164,6 @@ svcraw_freeargs(
|
||||
}
|
||||
|
||||
static void
|
||||
svcraw_destroy()
|
||||
svcraw_destroy(SVCXPRT *xprt)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -56,12 +56,12 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/svc_tcp.c,v 1.18 2000/01/27 23:
|
||||
/*
|
||||
* Ops vector for TCP/IP based rpc service handle
|
||||
*/
|
||||
static bool_t svctcp_recv();
|
||||
static enum xprt_stat svctcp_stat();
|
||||
static bool_t svctcp_getargs();
|
||||
static bool_t svctcp_reply();
|
||||
static bool_t svctcp_freeargs();
|
||||
static void svctcp_destroy();
|
||||
static bool_t svctcp_recv(SVCXPRT *xprt, struct rpc_msg *msg);
|
||||
static enum xprt_stat svctcp_stat(SVCXPRT *xprt);
|
||||
static bool_t svctcp_getargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr);
|
||||
static bool_t svctcp_reply(SVCXPRT *xprt, struct rpc_msg *msg);
|
||||
static bool_t svctcp_freeargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr);
|
||||
static void svctcp_destroy(SVCXPRT *xprt);
|
||||
|
||||
static struct xp_ops svctcp_op = {
|
||||
svctcp_recv,
|
||||
@@ -75,15 +75,15 @@ static struct xp_ops svctcp_op = {
|
||||
/*
|
||||
* Ops vector for TCP/IP rendezvous handler
|
||||
*/
|
||||
static bool_t rendezvous_request();
|
||||
static enum xprt_stat rendezvous_stat();
|
||||
static bool_t rendezvous_request(SVCXPRT *xprt, struct rpc_msg *msg);
|
||||
static enum xprt_stat rendezvous_stat(SVCXPRT *xprt);
|
||||
|
||||
static struct xp_ops svctcp_rendezvous_op = {
|
||||
rendezvous_request,
|
||||
rendezvous_stat,
|
||||
(bool_t (*)())abort,
|
||||
(bool_t (*)())abort,
|
||||
(bool_t (*)())abort,
|
||||
(bool_t (*)(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr))abort,
|
||||
(bool_t (*)(SVCXPRT *xprt, struct rpc_msg *msg))abort,
|
||||
(bool_t (*)(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr))abort,
|
||||
svctcp_destroy
|
||||
};
|
||||
|
||||
@@ -237,7 +237,8 @@ makefd_xprt(
|
||||
|
||||
static bool_t
|
||||
rendezvous_request(
|
||||
SVCXPRT *xprt)
|
||||
SVCXPRT *xprt,
|
||||
struct rpc_msg *msg)
|
||||
{
|
||||
int sock;
|
||||
struct tcp_rendezvous *r;
|
||||
@@ -279,7 +280,7 @@ rendezvous_request(
|
||||
}
|
||||
|
||||
static enum xprt_stat
|
||||
rendezvous_stat()
|
||||
rendezvous_stat(SVCXPRT *xprt)
|
||||
{
|
||||
|
||||
return (XPRT_IDLE);
|
||||
|
||||
Reference in New Issue
Block a user