xref: /titanic_51/usr/src/uts/common/klm/nlm_prot_clnt.sed (revision f7b98820db2e767eb246fc6aef8f740f838f03c6)
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
206{
21i\
22#include <sys/param.h>
23i\
24#include <sys/systm.h>
25i\
26#include <rpcsvc/nlm_prot.h>
27i\
28#include "nlm_impl.h"
29}
30/^.include/,/^.endif/d
31s/clnt_call/nlm_clnt_call/g
32