clean up old GCC.1 stuff.

This commit is contained in:
christos 1999-05-04 13:36:10 +00:00
parent a4b250cd02
commit 7d5c65239e

View File

@ -1,4 +1,4 @@
/* $NetBSD: stdarg.h,v 1.14 1999/05/03 16:20:28 christos Exp $ */
/* $NetBSD: stdarg.h,v 1.15 1999/05/04 13:36:10 christos Exp $ */
/*
* Copyright (c) 1992, 1993
@ -52,21 +52,16 @@
typedef _BSD_VA_LIST_ va_list;
#ifdef __lint__
#define __builtin_saveregs() 0
#define __builtin_classify_type(t) 0
#define __builtin_saveregs() (0)
#define __builtin_classify_type(t) (0)
#define __builtin_next_arg(t) ((t) ? 0 : 0)
#endif
#define __va_size(type) \
(((sizeof(type) + sizeof(long) - 1) / sizeof(long)) * sizeof(long))
#if __GNUC__ > 2 || __GNUC_MINOR__ >= 6
#define va_start(ap, last) \
(__builtin_next_arg(last), (ap) = (va_list)__builtin_saveregs())
#else
#define va_start(ap, last) \
(__builtin_next_arg(), (ap) = (va_list)__builtin_saveregs())
#endif
/*
* va_arg picks up the next argument of type `type'. Appending an