remove puts() and putc() move format_puts and format_putc into format.c and make them static (not visible to outside of format.c)