[PATCH] fixup! test: factor out some boilerplate from C tests
David Bremner
david at tethera.net
Sat Jun 4 05:37:26 PDT 2016
---
test/notmuch-test.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/notmuch-test.h b/test/notmuch-test.h
index e6e1d6c..d39febb 100644
--- a/test/notmuch-test.h
+++ b/test/notmuch-test.h
@@ -3,7 +3,8 @@
#include <stdio.h>
#include <notmuch.h>
-void expect0(int line, notmuch_status_t ret)
+inline static void
+expect0(int line, notmuch_status_t ret)
{
if (ret) {
fprintf (stderr, "line %d: %s\n", line, ret);
--
2.8.1
More information about the notmuch
mailing list