X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fstdarg.h;h=adf73483ce8bbfd397e92d69a4c08ec8713bc1f5;hb=85885001b133e2dc320b6f6459259afa69784ca8;hp=4fd822b2a3ba43a1d75f58bc03c9f60a01257ac7;hpb=44fd1082ae807a0b6b4046c65914e20a7e27101c;p=cc65 diff --git a/include/stdarg.h b/include/stdarg.h index 4fd822b2a..adf73483c 100644 --- a/include/stdarg.h +++ b/include/stdarg.h @@ -1,8 +1,8 @@ /*****************************************************************************/ /* */ -/* stdarg.h */ +/* stdarg.h */ /* */ -/* Variable arguments */ +/* Variable arguments */ /* */ /* */ /* */ @@ -40,10 +40,10 @@ typedef unsigned char* va_list; -#define va_start(ap, fix) ap = ((va_list)&(fix)) -#define va_arg(ap,type) (*(type*)(ap -= ((sizeof (type) + 1) & ~1))) +#define va_start(ap, fix) ap = ((va_list)&(fix)) +#define va_arg(ap,type) (*(type*)(ap -= ((sizeof (type) + 1) & ~1))) #if __CC65_STD__ >= __CC65_STD_C99__ -#define va_copy(dest, src) ((dest)=(src)) +#define va_copy(dest, src) ((dest)=(src)) #endif #define va_end(ap)