From f481beb2dc4e6db37ea79f32960cbfa4a148eb90 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Sat, 21 Jun 2008 11:33:06 +0000 Subject: initial tree --- common.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 common.c (limited to 'common.c') diff --git a/common.c b/common.c new file mode 100644 index 0000000..3d78e51 --- /dev/null +++ b/common.c @@ -0,0 +1,14 @@ +#include + +int writeyes(void) { + puts("yes"); + return 0; +} + +int writeno(const char *s) { + if(s) + printf("no (%s)\n", s); + else + puts("no"); + return 1; +} -- cgit v1.2.3