summaryrefslogtreecommitdiff
path: root/common.c
blob: 3d78e518c6a355b9fdc7bbe40e1c9c382fb1f326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>

int writeyes(void) {
	puts("yes");
	return 0;
}

int writeno(const char *s) {
	if(s)
		printf("no (%s)\n", s);
	else
		puts("no");
	return 1;
}