blob: b8fdedf0c8157848562c7ac3cd7c21b2d5a6c5ae [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001From f9ea91771f0d3c984e7d5fe9e15962db1ee686ad Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 29 Aug 2022 09:39:16 -0700
4Subject: [PATCH 2/2] ippool_rpc_server.c: Add missing prototype for
5 ippool_api_rpc_check_request
6
7Upstream-Status: Inappropriate [no upstream]
8Signed-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) $@