Remove gt_na() and gt_fatal()

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2017-11-15 23:31:17 +00:00
parent 557d3f7869
commit 3b1c9db3f8
2 changed files with 0 additions and 19 deletions

View File

@@ -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)
{

View File

@@ -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);