Move seek function last in VT.
[bertos.git] / mware / formatwr.c
index fd40deef20896889a705a1ad66b0a84298141be5..8f30f22b4e911e3fc5cbd532f3ed78a747b0417a 100755 (executable)
 
 /*#*
  *#* $Log$
+ *#* Revision 1.10  2004/10/26 09:01:35  bernie
+ *#* Fix spacing.
+ *#*
+ *#* Revision 1.9  2004/09/14 21:06:23  bernie
+ *#* Spelling fix.
+ *#*
  *#* Revision 1.8  2004/08/25 14:12:09  rasky
  *#* Aggiornato il comment block dei log RCS
  *#*
@@ -83,7 +89,7 @@
 #include "formatwr.h"
 #include <compiler.h> /* progmem macros */
 #include <config.h> /* CONFIG_ macros */
-#include <drv/kdebug.h> /* ASSERT */
+#include <debug.h> /* ASSERT */
 
 #ifndef CONFIG_PRINTF_N_FORMATTER
        /*! Enable arcane %n formatter */
 #else
        /*
         * Conservative estimate. Should be (probably) 12 (which is the size necessary
-        * to represent (2^32-1) in octal plus the sign bit 
+        * to represent (2^32-1) in octal plus the sign bit.
         */
        #define FRMWRI_BUFSIZE 16
 #endif
@@ -572,9 +578,9 @@ NEXT_FLAG:
                                        ulong = flags.h_modifier ?
                                                (unsigned long)(unsigned short) va_arg(ap, int)
                                                : (unsigned long)va_arg(ap, int);
-                               flags.div_factor = 
+                               flags.div_factor =
 #if CONFIG_PRINTF_OCTAL_FORMATTER
-                                       (format_flag == 'o') ? DIV_OCT : 
+                                       (format_flag == 'o') ? DIV_OCT :
 #endif
                                        (format_flag == 'u') ? DIV_DEC : DIV_HEX;
                                flags.plus_space_flag = PSF_NONE;