Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / filesystems / glusterfs / patches / patch-rpc_rpc-lib_src_rpcsvc.c
blob34e24f1fa28755dc54753498229d6ec52789e249
1 $NetBSD$
3 --- rpc/rpc-lib/src/rpcsvc.c.orig 2012-12-20 14:55:50.000000000 +0000
4 +++ rpc/rpc-lib/src/rpcsvc.c
5 @@ -220,7 +220,7 @@ err:
6 /* this procedure can only pass 4 arguments to registered notifyfn. To send more
7 * arguments call wrapper->notify directly.
8 */
9 -inline void
10 +void
11 rpcsvc_program_notify (rpcsvc_listener_t *listener, rpcsvc_event_t event,
12 void *data)
14 @@ -243,7 +243,7 @@ out:
18 -inline int
19 +int
20 rpcsvc_accept (rpcsvc_t *svc, rpc_transport_t *listen_trans,
21 rpc_transport_t *new_trans)
23 @@ -687,7 +687,7 @@ err:
24 return txrecord;
27 -inline int
28 +int
29 rpcsvc_get_callid (rpcsvc_t *rpc)
31 return GF_UNIVERSAL_ANSWER;
32 @@ -873,7 +873,7 @@ out:
33 return ret;
36 -inline int
37 +int
38 rpcsvc_transport_submit (rpc_transport_t *trans, struct iovec *hdrvec,
39 int hdrcount, struct iovec *proghdr, int proghdrcount,
40 struct iovec *progpayload, int progpayloadcount,
41 @@ -1120,7 +1120,7 @@ rpcsvc_error_reply (rpcsvc_request_t *re
44 /* Register the program with the local portmapper service. */
45 -inline int
46 +int
47 rpcsvc_program_register_portmap (rpcsvc_program_t *newprog, uint32_t port)
49 int ret = 0;
50 @@ -1142,7 +1142,7 @@ out:
54 -inline int
55 +int
56 rpcsvc_program_unregister_portmap (rpcsvc_program_t *prog)
58 int ret = 0;
59 @@ -1320,7 +1320,7 @@ out:
63 -inline int
64 +int
65 rpcsvc_transport_peername (rpc_transport_t *trans, char *hostname, int hostlen)
67 if (!trans) {
68 @@ -1331,7 +1331,7 @@ rpcsvc_transport_peername (rpc_transport
72 -inline int
73 +int
74 rpcsvc_transport_peeraddr (rpc_transport_t *trans, char *addrstr, int addrlen,
75 struct sockaddr_storage *sa, socklen_t sasize)
77 @@ -1583,7 +1583,7 @@ out:
81 -inline int
82 +int
83 rpcsvc_program_register (rpcsvc_t *svc, rpcsvc_program_t *program)
85 int ret = -1;