From 5fdba75bfabd45cb1bf38af86d3cec641d488093 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 14 Apr 2020 16:06:38 +0200 Subject: Added surf configurations --- .repos/surf/common.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .repos/surf/common.c (limited to '.repos/surf/common.c') diff --git a/.repos/surf/common.c b/.repos/surf/common.c new file mode 100644 index 0000000..42662ed --- /dev/null +++ b/.repos/surf/common.c @@ -0,0 +1,15 @@ +#include +#include +#include + +void +die(const char *errstr, ...) +{ + va_list ap; + + va_start(ap, errstr); + vfprintf(stderr, errstr, ap); + va_end(ap); + exit(1); +} + -- cgit v1.2.3