Subject: Re: What's va_list typedef'ed to?
To: Kevin Cousins <kevin.cousins@praxa.com.au>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: port-macppc
Date: 09/06/2000 21:57:40
Kevin Cousins <kevin.cousins@praxa.com.au> writes:
> Answer:
> 
>   typedef char *va_list;

Are you sure you did this on a powerpc architecture machine?
src/sys/arch/powerpc/include/ansi.h has:

typedef struct {
        char __gpr, __fpr, __pad[2];
        char *__stack, *__base;
} __va_list;
#define _BSD_VA_LIST_           __va_list       /* va_list */

which looks very different from your answer.

I was actually was looking for what _G_va_list was defined to be.  You
should find it in <machine/_G_config.h>.

	Thanks,

     -- Johnny C. Lam <lamj@stat.cmu.edu>
        Department of Statistics, Carnegie Mellon University
        http://www.stat.cmu.edu/~lamj/