summaryrefslogtreecommitdiff
path: root/src/logerr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logerr.c')
-rw-r--r--src/logerr.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/logerr.c b/src/logerr.c
index eb160d2..ab13e78 100644
--- a/src/logerr.c
+++ b/src/logerr.c
@@ -6,15 +6,6 @@
#include "logerr.h"
-#ifdef TEST
-#include <assert.h>
-#include <errno.h>
-#include <string.h>
-
-#include "testing.h"
-#include "../tests/slurp.h"
-#endif
-
/**
* @tags infallible
@@ -38,7 +29,16 @@ vlogerr(
return;
}
+
#ifdef TEST
+#include <assert.h>
+#include <errno.h>
+#include <string.h>
+
+#include "testing.h"
+#include "../tests/slurp.h"
+
+
static const char *const
FNAME = __FILE__ ".txt";