varargs.h (104584) | varargs.h (119628) |
---|---|
1/*- 2 * Copyright (c) 2002 David E. O'Brien. All rights reserved. 3 * Copyright (c) 2000 Tsubai Masanari. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 27 * $NetBSD: varargs.h,v 1.5 2000/02/27 17:50:22 tsubai Exp $ | 1/*- 2 * Copyright (c) 2002 David E. O'Brien. All rights reserved. 3 * Copyright (c) 2000 Tsubai Masanari. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 27 * $NetBSD: varargs.h,v 1.5 2000/02/27 17:50:22 tsubai Exp $ |
28 * $FreeBSD: head/sys/powerpc/include/varargs.h 104584 2002-10-06 22:02:06Z mike $ | 28 * $FreeBSD: head/sys/powerpc/include/varargs.h 119628 2003-09-01 03:01:45Z kan $ |
29 */ 30 | 29 */ 30 |
31#ifndef _POWERPC_VARARGS_H_ 32#define _POWERPC_VARARGS_H_ | 31#ifndef _MACHINE_VARARGS_H_ 32#define _MACHINE_VARARGS_H_ |
33 34#if defined(__GNUC__) && (__GNUC__ == 2 && __GNUC_MINOR__ > 95 || __GNUC__ >= 3) 35 36#include <sys/_types.h> 37 38#ifndef _VA_LIST_DECLARED 39#define _VA_LIST_DECLARED 40typedef __va_list va_list; --- 23 unchanged lines hidden (view full) --- 64 ((ap).__stack = __va_stack_args, \ 65 (ap).__base = __va_reg_args, \ 66 (ap).__gpr = __va_first_gpr, \ 67 (ap).__fpr = __va_first_fpr) 68#endif 69 70#endif /* __GNUC__ post GCC 2.95 */ 71 | 33 34#if defined(__GNUC__) && (__GNUC__ == 2 && __GNUC_MINOR__ > 95 || __GNUC__ >= 3) 35 36#include <sys/_types.h> 37 38#ifndef _VA_LIST_DECLARED 39#define _VA_LIST_DECLARED 40typedef __va_list va_list; --- 23 unchanged lines hidden (view full) --- 64 ((ap).__stack = __va_stack_args, \ 65 (ap).__base = __va_reg_args, \ 66 (ap).__gpr = __va_first_gpr, \ 67 (ap).__fpr = __va_first_fpr) 68#endif 69 70#endif /* __GNUC__ post GCC 2.95 */ 71 |
72#endif /* _POWERPC_VARARGS_H_ */ | 72#endif /* _MACHINE_VARARGS_H_ */ |