1*a2142627SBen Jolitz /*- 2*a2142627SBen Jolitz * Copyright (c) 1990 The Regents of the University of California. 3*a2142627SBen Jolitz * All rights reserved. 4*a2142627SBen Jolitz * 5*a2142627SBen Jolitz * Redistribution and use in source and binary forms, with or without 6*a2142627SBen Jolitz * modification, are permitted provided that the following conditions 7*a2142627SBen Jolitz * are met: 8*a2142627SBen Jolitz * 1. Redistributions of source code must retain the above copyright 9*a2142627SBen Jolitz * notice, this list of conditions and the following disclaimer. 10*a2142627SBen Jolitz * 2. Redistributions in binary form must reproduce the above copyright 11*a2142627SBen Jolitz * notice, this list of conditions and the following disclaimer in the 12*a2142627SBen Jolitz * documentation and/or other materials provided with the distribution. 13*a2142627SBen Jolitz * 3. All advertising materials mentioning features or use of this software 14*a2142627SBen Jolitz * must display the following acknowledgement: 15*a2142627SBen Jolitz * This product includes software developed by the University of 16*a2142627SBen Jolitz * California, Berkeley and its contributors. 17*a2142627SBen Jolitz * 4. Neither the name of the University nor the names of its contributors 18*a2142627SBen Jolitz * may be used to endorse or promote products derived from this software 19*a2142627SBen Jolitz * without specific prior written permission. 20*a2142627SBen Jolitz * 21*a2142627SBen Jolitz * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 22*a2142627SBen Jolitz * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23*a2142627SBen Jolitz * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24*a2142627SBen Jolitz * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 25*a2142627SBen Jolitz * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26*a2142627SBen Jolitz * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27*a2142627SBen Jolitz * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28*a2142627SBen Jolitz * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29*a2142627SBen Jolitz * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30*a2142627SBen Jolitz * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31*a2142627SBen Jolitz * SUCH DAMAGE. 32*a2142627SBen Jolitz * 33*a2142627SBen Jolitz * $Id: varargs.h,v 1.1 94/10/20 00:53:53 bill Exp $ 34*a2142627SBen Jolitz */ 35*a2142627SBen Jolitz 36*a2142627SBen Jolitz #ifndef _VARARGS_H_ 37*a2142627SBen Jolitz #define _VARARGS_H_ 38*a2142627SBen Jolitz 39*a2142627SBen Jolitz #include <stdarg.h> 40*a2142627SBen Jolitz 41*a2142627SBen Jolitz #undef va_dcl 42*a2142627SBen Jolitz #define va_dcl int va_alist; 43*a2142627SBen Jolitz 44*a2142627SBen Jolitz #undef va_start 45*a2142627SBen Jolitz #define va_start(ap) \ 46*a2142627SBen Jolitz ap = (char *)&va_alist 47*a2142627SBen Jolitz 48*a2142627SBen Jolitz #endif /* !_VARARGS_H_ */ 49