diff --git a/src/common.c b/src/common.c index 96593dd..47c208f 100644 --- a/src/common.c +++ b/src/common.c @@ -26,23 +26,6 @@ gt_log(const char *fmt, ...) va_end(ap); } -void -gt_fatal(const char *fmt, ...) -{ - va_list ap; - va_start(ap, fmt); - vfprintf(stderr, fmt, ap); - va_end(ap); - - exit(EXIT_FAILURE); -} - -void -gt_na(const char *name) -{ - gt_log("%s is not available on your platform\n", name); -} - int gt_tohex(char *dst, size_t dst_size, const uint8_t *src, size_t src_size) { diff --git a/src/common.h b/src/common.h index 9ba330a..79f13fa 100644 --- a/src/common.h +++ b/src/common.h @@ -37,8 +37,6 @@ int gt_print (const char *, ...) _printf_(1,2); void gt_log (const char *, ...) _printf_(1,2); -void gt_fatal (const char *, ...) _printf_(1,2) _noreturn_; -void gt_na (const char *); int gt_tohex (char *, size_t, const uint8_t *, size_t); int gt_fromhex (uint8_t *, size_t, const char *, size_t);