Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/arch/powerpc/include Pull up revision 1.13 (via pat...



details:   https://anonhg.NetBSD.org/src/rev/4ec77d364fc9
branches:  netbsd-1-6
changeset: 529365:4ec77d364fc9
user:      he <he%NetBSD.org@localhost>
date:      Sat Nov 16 09:40:32 2002 +0000

description:
Pull up revision 1.13 (via patch, requested by matt in ticket #638):
  Correct __va_list typedef for GCC 3.x to match the GCC 3.x
  definition.

diffstat:

 sys/arch/powerpc/include/ansi.h |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r cf74a7b6224b -r 4ec77d364fc9 sys/arch/powerpc/include/ansi.h
--- a/sys/arch/powerpc/include/ansi.h   Sat Nov 16 09:34:12 2002 +0000
+++ b/sys/arch/powerpc/include/ansi.h   Sat Nov 16 09:40:32 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ansi.h,v 1.11 2001/01/03 10:09:02 takemura Exp $       */
+/*     $NetBSD: ansi.h,v 1.11.18.1 2002/11/16 09:40:32 he Exp $        */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -58,12 +58,16 @@
 #define        _BSD_TIMER_T_           int             /* timer_t */
 #define        _BSD_SUSECONDS_T_       int             /* suseconds_t */
 #define        _BSD_USECONDS_T_        unsigned int    /* useconds_t */
+#define        _BSD_VA_LIST_           __va_list       /* va_list */
 
+#if __GNUC_PREREQ__(3, 0)
+typedef        __builtin_va_list __va_list;
+#else
 typedef struct {
        char __gpr, __fpr, __pad[2];
        char *__stack, *__base;
 } __va_list;
-#define        _BSD_VA_LIST_           __va_list       /* va_list */
+#endif
 
 /*
  * NOTE: rune_t is not covered by ANSI nor other standards, and should not



Home | Main Index | Thread Index | Old Index