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 sm_inter.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/sm_inter.h> 27 } 28 /^.include/,/^.endif/d