Update putword() to accept a FILE *

This commit is contained in:
sin
2015-04-21 17:40:57 +01:00
parent 504855ff96
commit c914a2feca
4 changed files with 9 additions and 9 deletions

View File

@@ -4,13 +4,13 @@
#include "../util.h"
void
putword(const char *s)
putword(FILE *fp, const char *s)
{
static int first = 1;
if (!first)
putchar(' ');
fputs(s, stdout);
fputs(s, fp);
first = 0;
}