forked from Imagelibrary/rtems
Add missing prototypes.
This commit is contained in:
@@ -46,7 +46,7 @@ int getdomainname(char *, size_t);
|
||||
#define default_domain (rtems_rpc_task_variables->rpcdname_default_domain)
|
||||
|
||||
static char *
|
||||
get_default_domain()
|
||||
get_default_domain(void)
|
||||
{
|
||||
char temp[256];
|
||||
|
||||
|
||||
@@ -39,8 +39,8 @@
|
||||
#include <sys/wait.h>
|
||||
#include <sys/signal.h>
|
||||
|
||||
static void reg_service();
|
||||
static void callit();
|
||||
static void reg_service(struct svc_req *rqstp, SVCXPRT *xprt);
|
||||
static void callit(struct svc_req *rqstp, SVCXPRT *xprt);
|
||||
static struct pmaplist *pmaplist;
|
||||
static int debugging = 0;
|
||||
|
||||
|
||||
@@ -52,13 +52,13 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/svc_simple.c,v 1.9 1999/08/28 0
|
||||
#include <inttypes.h> /* for PRIxx printf formats */
|
||||
|
||||
struct prog_lst {
|
||||
char *(*p_progname)();
|
||||
char *(*p_progname)(char *);
|
||||
rpcprog_t p_prognum;
|
||||
rpcproc_t p_procnum;
|
||||
xdrproc_t p_inproc, p_outproc;
|
||||
struct prog_lst *p_nxt;
|
||||
};
|
||||
static void universal();
|
||||
static void universal(struct svc_req *, SVCXPRT *);
|
||||
#define proglst (rtems_rpc_task_variables->svc_simple_proglst)
|
||||
#define pl (rtems_rpc_task_variables->svc_simple_pl)
|
||||
#define transp (rtems_rpc_task_variables->svc_simple_transp)
|
||||
@@ -68,7 +68,7 @@ registerrpc(
|
||||
int prognum,
|
||||
int versnum,
|
||||
int procnum,
|
||||
char *(*progname)(),
|
||||
char *(*progname)(char *),
|
||||
xdrproc_t inproc,
|
||||
xdrproc_t outproc )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user