]> pd.if.org Git - pdclib/blobdiff - functions/stdio/_cbprintf.c
dos2unix
[pdclib] / functions / stdio / _cbprintf.c
index c0192fe0f331a581549c311517372a517e24c1fc..3598a5c47cd475175641ad3a681c8ed89bb9025b 100644 (file)
@@ -1,4 +1,4 @@
-/* _cbprintf( void *, size_t (*)( void*, const char *, size_t ), const char *, ... )
+/* _cbprintf( void *, size_t (*)( void *, const char *, size_t ), const char *, ... )
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
@@ -31,7 +31,7 @@ int _cbprintf(
 #define _PDCLIB_STRINGIO
 #include <stddef.h>
 
-#include <_PDCLIB_test.h>
+#include "_PDCLIB_test.h"
 
 static char * bufptr;
 static size_t testcb( void *p, const char *buf, size_t size )
@@ -46,8 +46,8 @@ static size_t testcb( void *p, const char *buf, size_t size )
 
 int main( void )
 {
-    char target[100];
 #ifndef REGTEST
+    char target[100];
 #include "printf_testcases.h"
 #endif
     return TEST_RESULTS;