aboutsummaryrefslogtreecommitdiff
path: root/test/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.h')
-rw-r--r--test/test.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/test.h b/test/test.h
index 615402b..0b12fb7 100644
--- a/test/test.h
+++ b/test/test.h
@@ -31,13 +31,9 @@ int64_t writecube(const char *, cube_t, size_t n, char [n]);
31/* Test function to be implemented by all tests */ 31/* Test function to be implemented by all tests */
32void run(void); 32void run(void);
33 33
34void log_stderr(const char *str, ...) 34void log_stderr(const char *str)
35{ 35{
36 va_list args; 36 fprintf(stderr, "%s", str);
37
38 va_start(args, str);
39 vfprintf(stderr, str, args);
40 va_end(args);
41} 37}
42 38
43int main(void) { 39int main(void) {

Generated with cgit - Back to sebastiano.tronto.net