]> pd.if.org Git - pdclib/blobdiff - functions/stdio/vsnprintf.c
Renamed status->this to status->current to allow for use with C++ compilers.
[pdclib] / functions / stdio / vsnprintf.c
index 9c9ab591f0993c2f5e78a2278fc8e283e56c9427..4dbd7c27cfb03679a366558346ddb8d942b6bf8c 100644 (file)
 
 #ifndef REGTEST
 
-int vsnprintf( char * s, size_t n, const char * format, _PDCLIB_va_list arg )
+int vsnprintf( char * _PDCLIB_restrict s, size_t n, const char * _PDCLIB_restrict format, _PDCLIB_va_list arg )
 {
     /* TODO: This function should interpret format as multibyte characters.  */
-    /* Members: base, flags, n, i, this, s, width, prec, stream, arg         */
+    /* Members: base, flags, n, i, current, s, width, prec, stream, arg         */
     struct _PDCLIB_status_t status;
     status.base = 0;
     status.flags = 0;
     status.n = n;
     status.i = 0;
-    status.this = 0;
+    status.current = 0;
     status.s = s;
     status.width = 0;
     status.prec = 0;