X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=device%2Finclude%2Fstdarg.h;h=671b0e2bca8e888127330a77548881eb5ad8c132;hb=a2c1828efbdcfbe9ce6bdb276cca9c633ce66d9d;hp=69263514bdad44657393fedc06e918dc5720d231;hpb=f8fee377f734e7d139ab089549025aecbf176a5d;p=fw%2Fsdcc diff --git a/device/include/stdarg.h b/device/include/stdarg.h index 69263514..671b0e2b 100644 --- a/device/include/stdarg.h +++ b/device/include/stdarg.h @@ -19,13 +19,13 @@ typedef unsigned char * va_list ; #elif defined(SDCC_USE_XSTACK) -typedef unsigned char pdata * va_list ; +typedef unsigned char __pdata * va_list ; #define va_arg(marker,type) *((type __data *)(marker -= sizeof(type))) #define va_start(marker,first) { marker = (va_list)((char __pdata *)&first); } #else -typedef unsigned char data * va_list ; +typedef unsigned char __data * va_list ; #define va_arg(marker,type) *((type __data * )(marker -= sizeof(type))) #define va_start(marker,first) { marker = (va_list) ((char __data * )&first); }