rm die() from util - frontends - front-ends for some sites (experiment) (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 0ced109739684b8047d8debb7af78ae23f70c31d (DIR) parent ebb2cde0738689a13bbc46f7ff1fa37763610790 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 14 Jan 2020 00:56:19 +0100 rm die() from util Diffstat: M util.c | 12 ------------ M util.h | 2 -- 2 files changed, 0 insertions(+), 14 deletions(-) --- (DIR) diff --git a/util.c b/util.c @@ -12,18 +12,6 @@ #include <unistd.h> #include <wchar.h> -void -die(const char *fmt, ...) -{ - va_list ap; - - va_start(ap, fmt); - vfprintf(stderr, fmt, ap); - va_end(ap); - - exit(1); -} - int uriencode(const char *s, char *buf, size_t bufsiz) { (DIR) diff --git a/util.h b/util.h @@ -3,8 +3,6 @@ #define unveil(p1,p2) 0 #endif -void die(const char *fmt, ...); - int decodeparam(char *buf, size_t bufsiz, const char *s); int friendlytime(time_t now, time_t t); char *getparam(const char *query, const char *s);