1 #
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
6 #
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy is of the CDDL is also available via the Internet
9 # at http://www.illumos.org/license/CDDL.
10 #
11 #
12 # Copyright 2011 Nexenta Systems, Inc. All rights reserved.
13 #
14
15 #
16 # This sed script is run on the client code generated by rpcgen
17 # from nlm_prot.x before it is compiled.
18 #
19
20 6{
21 i\
22 #include <sys/param.h>
23 i\
24 #include <sys/systm.h>
25 i\
26 #include <rpcsvc/nlm_prot.h>
27 i\
28 #include "nlm_impl.h"
29 }
30 /^.include/,/^.endif/d
31 s/clnt_call/nlm_clnt_call/g