Deleted Added
full compact
stdarg.h (143063) stdarg.h (162487)
1/*-
2 * Copyright (c) 2002 David E. O'Brien. All rights reserved.
3 * Copyright (c) 1992, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * This software was developed by the Computer Systems Engineering group
7 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
8 * contributed to Berkeley.

--- 21 unchanged lines hidden (view full) ---

30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)stdarg.h 8.2 (Berkeley) 9/27/93
37 * $NetBSD: stdarg.h,v 1.11 2000/07/23 21:36:56 mycroft Exp $
1/*-
2 * Copyright (c) 2002 David E. O'Brien. All rights reserved.
3 * Copyright (c) 1992, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * This software was developed by the Computer Systems Engineering group
7 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
8 * contributed to Berkeley.

--- 21 unchanged lines hidden (view full) ---

30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)stdarg.h 8.2 (Berkeley) 9/27/93
37 * $NetBSD: stdarg.h,v 1.11 2000/07/23 21:36:56 mycroft Exp $
38 * $FreeBSD: head/sys/sparc64/include/stdarg.h 143063 2005-03-02 21:33:29Z joerg $
38 * $FreeBSD: head/sys/sparc64/include/stdarg.h 162487 2006-09-21 01:37:02Z kan $
39 */
40
41#ifndef _MACHINE_STDARG_H_
42#define _MACHINE_STDARG_H_
43
44#include <sys/cdefs.h>
45#include <sys/_types.h>
46
47#ifndef _VA_LIST_DECLARED
48#define _VA_LIST_DECLARED
49typedef __va_list va_list;
50#endif
51
52#ifdef __GNUCLIKE_BUILTIN_STDARG
53
54#define va_start(ap, last) \
39 */
40
41#ifndef _MACHINE_STDARG_H_
42#define _MACHINE_STDARG_H_
43
44#include <sys/cdefs.h>
45#include <sys/_types.h>
46
47#ifndef _VA_LIST_DECLARED
48#define _VA_LIST_DECLARED
49typedef __va_list va_list;
50#endif
51
52#ifdef __GNUCLIKE_BUILTIN_STDARG
53
54#define va_start(ap, last) \
55 __builtin_stdarg_start((ap), (last))
55 __builtin_va_start((ap), (last))
56
57#define va_arg(ap, type) \
58 __builtin_va_arg((ap), type)
59
60#if __ISO_C_VISIBLE >= 1999
61#define va_copy(dest, src) \
62 __builtin_va_copy((dest), (src))
63#endif

--- 38 unchanged lines hidden ---
56
57#define va_arg(ap, type) \
58 __builtin_va_arg((ap), type)
59
60#if __ISO_C_VISIBLE >= 1999
61#define va_copy(dest, src) \
62 __builtin_va_copy((dest), (src))
63#endif

--- 38 unchanged lines hidden ---