Remove __P.
This commit is contained in:
parent
7b0f9607c9
commit
33314abe2c
@ -61,9 +61,9 @@ __RCSID("$NetBSD: lock_proc.c,v 1.7 2000/10/11 20:23:56 is Exp $");
|
||||
#define CLIENT_CACHE_SIZE 64 /* No. of client sockets cached */
|
||||
#define CLIENT_CACHE_LIFETIME 120 /* In seconds */
|
||||
|
||||
static void log_from_addr __P((char *, struct svc_req *));
|
||||
static void log_netobj __P((netobj *obj));
|
||||
static int addrcmp __P((struct sockaddr *, struct sockaddr *));
|
||||
static void log_from_addr(char *, struct svc_req *);
|
||||
static void log_netobj(netobj *obj);
|
||||
static int addrcmp(struct sockaddr *, struct sockaddr *);
|
||||
|
||||
/* log_from_addr ----------------------------------------------------------- */
|
||||
/*
|
||||
@ -361,7 +361,7 @@ transmit4_result(opcode, result, addr)
|
||||
/*
|
||||
* converts a struct nlm_lock to struct nlm4_lock
|
||||
*/
|
||||
static void nlmtonlm4 __P((struct nlm_lock *, struct nlm4_lock *));
|
||||
static void nlmtonlm4(struct nlm_lock *, struct nlm4_lock *);
|
||||
static void
|
||||
nlmtonlm4(arg, arg4)
|
||||
struct nlm_lock *arg;
|
||||
|
@ -75,14 +75,14 @@ pid_t client_pid;
|
||||
struct mon mon_host;
|
||||
|
||||
void init_nsm(void);
|
||||
int main __P((int, char **));
|
||||
void nlm_prog_0 __P((struct svc_req *, SVCXPRT *));
|
||||
void nlm_prog_1 __P((struct svc_req *, SVCXPRT *));
|
||||
void nlm_prog_3 __P((struct svc_req *, SVCXPRT *));
|
||||
void nlm_prog_4 __P((struct svc_req *, SVCXPRT *));
|
||||
void usage __P((void));
|
||||
int main(int, char **);
|
||||
void nlm_prog_0(struct svc_req *, SVCXPRT *);
|
||||
void nlm_prog_1(struct svc_req *, SVCXPRT *);
|
||||
void nlm_prog_3(struct svc_req *, SVCXPRT *);
|
||||
void nlm_prog_4(struct svc_req *, SVCXPRT *);
|
||||
void usage(void);
|
||||
|
||||
void sigalarm_handler __P((void));
|
||||
void sigalarm_handler(void);
|
||||
|
||||
const char *transports[] = { "udp", "tcp", "udp6", "tcp6" };
|
||||
|
||||
|
@ -20,6 +20,6 @@ void notify(const char *hostname, const int state);
|
||||
#define LOCK_CANCEL 0x08 /* cancel, not unlock request (unlock only) */
|
||||
|
||||
/* callbacks from lock_proc.c */
|
||||
void transmit_result __P((int, nlm_res *, struct sockaddr *));
|
||||
void transmit4_result __P((int, nlm4_res *, struct sockaddr *));
|
||||
CLIENT *get_client __P((struct sockaddr *, rpcvers_t));
|
||||
void transmit_result(int, nlm_res *, struct sockaddr *);
|
||||
void transmit4_result(int, nlm4_res *, struct sockaddr *);
|
||||
CLIENT *get_client(struct sockaddr *, rpcvers_t);
|
||||
|
Loading…
x
Reference in New Issue
Block a user