summaryrefslogtreecommitdiff
path: root/util/sbase/libutil/putword.c
blob: 80a9860a32ffcaed02b9fc6daba82c64ddf46b88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* See LICENSE file for copyright and license details. */
#include <stdio.h>

#include "../util.h"

void
putword(FILE *fp, const char *s)
{
	static int first = 1;

	if (!first)
		fputc(' ', fp);

	fputs(s, fp);
	first = 0;
}