From a75b3f7b47c074f2191a33c1f14ad4148754ed80 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Fri, 7 Apr 2017 23:58:20 +0200 Subject: Throw away the C client since it doesn't work --- client/global.c | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 client/global.c (limited to 'client/global.c') diff --git a/client/global.c b/client/global.c deleted file mode 100644 index bf5bf2e..0000000 --- a/client/global.c +++ /dev/null @@ -1,33 +0,0 @@ -#include -#include -#include -#include -#include -#include "global.h" - -__attribute__((noreturn, format(printf, 1, 2))) -void die(const char *format,...){ - fprintf(stderr,"DIE: "); - va_list ap; - va_start(ap,format); - vfprintf(stderr,format,ap); - va_end(ap); - fputc('\n',stderr); - exit(1); -} - -__attribute__((noreturn)) -void die_perror(const char *func){ - fprintf(stderr,"DIE: %s: %s\n",func,strerror(errno)); - exit(1); -} - -__attribute__((format (printf, 1, 2))) -void debug(const char *format,...){ - fprintf(stderr,"DEBUG: "); - va_list ap; - va_start(ap,format); - vfprintf(stderr,format,ap); - va_end(ap); - fputc('\n',stderr); -} -- cgit v1.2.3-54-g00ecf