Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 1 | From f9ea91771f0d3c984e7d5fe9e15962db1ee686ad Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Mon, 29 Aug 2022 09:39:16 -0700 |
| 4 | Subject: [PATCH 2/2] ippool_rpc_server.c: Add missing prototype for |
| 5 | ippool_api_rpc_check_request |
| 6 | |
| 7 | Upstream-Status: Inappropriate [no upstream] |
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 9 | --- |
| 10 | ippool_rpc_server.c | 2 ++ |
| 11 | 1 file changed, 2 insertions(+) |
| 12 | |
| 13 | --- a/Makefile |
| 14 | +++ b/Makefile |
| 15 | @@ -123,6 +123,7 @@ $(IPPOOL_RPC_STEM)_server.c: $(IPPOOL_RP |
| 16 | -$(RM) $@ $@.tmp |
| 17 | rpcgen $(RPCGENFLAGS) -m -o $@.tmp $< |
| 18 | cat $@.tmp | sed -e 's/switch (rqstp->rq_proc) {/if (ippool_api_rpc_check_request(transp) < 0) return; switch (rqstp->rq_proc) {/' > $@ |
| 19 | + sed -i '20i int ippool_api_rpc_check_request(SVCXPRT *xprt);' $@ |
| 20 | |
| 21 | $(IPPOOL_RPC_STEM)_client.c: $(IPPOOL_RPC_STEM).x |
| 22 | -$(RM) $@ |