diff options
author | Richard Henderson <rth@cygnus.com> | 1998-08-01 11:00:15 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1998-08-01 11:00:15 -0700 |
commit | 790d5d02520ae3a2fffff5bd205f7e37427c5f29 (patch) | |
tree | 2515bfeab6acf078d733108254a43505e82a6b80 | |
parent | e45a12c6e75b3246618359bdda2bbe9f3194ad70 (diff) | |
download | gcc-790d5d02520ae3a2fffff5bd205f7e37427c5f29.zip gcc-790d5d02520ae3a2fffff5bd205f7e37427c5f29.tar.gz gcc-790d5d02520ae3a2fffff5bd205f7e37427c5f29.tar.bz2 |
va-alpha.h (va_list): Use a typedef, not a define.
* ginclude/va-alpha.h (va_list): Use a typedef, not a define.
* ginclude/va-clipper.h (va_list): Likewise.
From-SVN: r21518
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ginclude/va-alpha.h | 3 | ||||
-rw-r--r-- | gcc/ginclude/va-clipper.h | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 24132f0..7106a7b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sat Aug 1 17:59:30 1998 Richard Henderson <rth@cygnus.com> + + * ginclude/va-alpha.h (va_list): Use a typedef, not a define. + * ginclude/va-clipper.h (va_list): Likewise. + Fri Jul 31 20:22:02 1998 Michael Meissner <meissner@cygnus.com> * rs6000.c (rs6000_override_options): If big endian and -Os, use diff --git a/gcc/ginclude/va-alpha.h b/gcc/ginclude/va-alpha.h index 2a4ba60..1d9e05d 100644 --- a/gcc/ginclude/va-alpha.h +++ b/gcc/ginclude/va-alpha.h @@ -28,8 +28,8 @@ typedef struct { /* If this is for internal libc use, don't define anything but __gnuc_va_list. */ #if defined (_STDARG_H) || defined (_VARARGS_H) +typedef __gnuc_va_list va_list; -#define va_list __gnuc_va_list #define _VA_LIST #define _VA_LIST_ @@ -128,4 +128,3 @@ enum { #define __va_copy(dest, src) (dest) = (src) #endif /* defined (_STDARG_H) || defined (_VARARGS_H) */ - diff --git a/gcc/ginclude/va-clipper.h b/gcc/ginclude/va-clipper.h index 38cc77f..213afca 100644 --- a/gcc/ginclude/va-clipper.h +++ b/gcc/ginclude/va-clipper.h @@ -15,7 +15,7 @@ typedef struct #if defined (_STDARG_H) || defined (_VARARGS_H) -#define va_list __gnuc_va_list +typedef __gnuc_va_list va_list; #define __va_list __gnuc_va_list /* acc compatibility */ #define _VA_LIST |