From: David Bremner <david@tethera.net>
To: David Bremner <david@tethera.net>,
Istvan Marko <notmuch@kismala.com>, Jani Nikula <jani@nikula.org>,
notmuch@notmuchmail.org
Subject: [PATCH] fixup! test: factor out some boilerplate from C tests
Date: Sat, 4 Jun 2016 09:37:26 -0300 [thread overview]
Message-ID: <1465043846-15506-1-git-send-email-david@tethera.net> (raw)
In-Reply-To: <1465043356-23420-3-git-send-email-david@tethera.net>
---
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
next prev parent reply other threads:[~2016-06-04 12:37 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-03 15:09 [PATCH] Use the Xapian::DB_RETRY_LOCK flag when available Istvan Marko
2016-05-03 16:31 ` Jani Nikula
2016-05-03 19:12 ` [PATCH v2] " Istvan Marko
2016-05-05 10:33 ` David Bremner
2016-06-04 12:29 ` v3 of DB_RETRY_LOCK David Bremner
2016-06-04 12:29 ` [PATCH 1/4] Use the Xapian::DB_RETRY_LOCK flag when available David Bremner
2016-06-04 12:29 ` [PATCH 2/4] test: factor out some boilerplate from C tests David Bremner
2016-06-04 12:37 ` David Bremner [this message]
2016-06-14 0:57 ` David Bremner
2016-06-04 12:29 ` [PATCH 3/4] test: initial tests for locking retry David Bremner
2016-06-04 12:29 ` [PATCH 4/4] lib: add built_with handling for XAPIAN_DB_RETRY_LOCK David Bremner
2016-06-04 12:38 ` [PATCH] fixup! " David Bremner
2016-05-03 19:01 ` [PATCH] Use the Xapian::DB_RETRY_LOCK flag when available David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1465043846-15506-1-git-send-email-david@tethera.net \
--to=david@tethera.net \
--cc=jani@nikula.org \
--cc=notmuch@kismala.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).