fixed and cleaned up fp support, optimisation yet to come
[fw/sdcc] / device / lib / printfl.c
index 121914bba735c425fe10013ee37ce664d22b159c..0754fb79032ca11a26b47cdd68d119ac399f1778 100644 (file)
@@ -37,7 +37,7 @@
      %lo       octal               long
      %ho       octal               char
      %c        character           char
-     %s        character           _generic pointer
+     %s        character           generic pointer
 */
 
 #include <stdarg.h>
@@ -143,7 +143,7 @@ void printf_small (char * fmt, ... ) reentrant
             }
 
             if (string_flag) {
-                str = va_arg(ap, char _generic *);
+                str = va_arg(ap, char *);
                 while (*str) putchar(*str++);
                 continue ;
             }