extern void putchar(char ch); void puts(char *str) { while (*str) { putchar(*str); ++str; } }