--- 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