Patch from vmakarov to avoid warnings with -Wall.

* ginclude/va-i960.h (va_end): Change void * to void.

From-SVN: r18961
This commit is contained in:
Vladimir N. Makarov 1998-04-02 11:54:27 +00:00 committed by Jim Wilson
parent 4cb1caaf7b
commit c1ac292d76
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
1998-04-02 Vladimir N. Makarov <vmakarov@cygnus.com>
* ginclude/va-i960.h (va_end): Change void * to void.
Thu Apr 2 13:51:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (choose-temp.o): Depend on system.h.

View File

@ -70,7 +70,7 @@ __extension__ \
#ifndef va_end
void va_end (__gnuc_va_list); /* Defined in libgcc.a */
#endif
#define va_end(AP) ((void *)0)
#define va_end(AP) ((void) 0)
/* Copy __gnuc_va_list into another variable of this type. */
#define __va_copy(dest, src) (dest) = (src)