Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include Correct __va_list typedef for GCC 3...
details: https://anonhg.NetBSD.org/src/rev/92f7f4704b75
branches: trunk
changeset: 534939:92f7f4704b75
user: matt <matt%NetBSD.org@localhost>
date: Wed Aug 07 00:11:59 2002 +0000
description:
Correct __va_list typedef for GCC 3.* to match the GCC 3.* definition.
diffstat:
sys/arch/powerpc/include/ansi.h | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r bf47ae537dff -r 92f7f4704b75 sys/arch/powerpc/include/ansi.h
--- a/sys/arch/powerpc/include/ansi.h Tue Aug 06 23:51:43 2002 +0000
+++ b/sys/arch/powerpc/include/ansi.h Wed Aug 07 00:11:59 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ansi.h,v 1.12 2002/06/01 09:22:44 tsubai Exp $ */
+/* $NetBSD: ansi.h,v 1.13 2002/08/07 00:11:59 matt Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -60,14 +60,15 @@
#define _BSD_SUSECONDS_T_ int /* suseconds_t */
#define _BSD_USECONDS_T_ unsigned int /* useconds_t */
#define _BSD_VA_LIST_ __va_list /* va_list */
-typedef struct {
+
#if __GNUC_PREREQ__(3, 0)
- __builtin_va_list __va;
+typedef __builtin_va_list __va_list;
#else
+typedef struct {
char __gpr, __fpr, __pad[2];
char *__stack, *__base;
+} __va_list;
#endif
-} __va_list;
/*
* NOTE: rune_t is not covered by ANSI nor other standards, and should not
Home |
Main Index |
Thread Index |
Old Index