syncfiles/convert/test.h

15 lines
386 B
C
Raw Normal View History

#ifndef test_h
#define test_h
/* test.h - unit testing definitions. */
2022-03-23 21:51:55 +00:00
#include "convert/defs.h"
/* Print an error message and exit. */
void Dief(const char *msg, ...) __attribute__((noreturn, format(printf, 1, 2)));
/* Print an error message with an error code and exit. */
void DieErrorf(int errcode, const char *msg, ...)
__attribute__((noreturn, format(printf, 2, 3)));
#endif