From 0bbfa570147d2f0aa9d7e2afa1109526efdb353f Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 21 Oct 2009 15:51:13 -0700 Subject: [PATCH] notmuch-private.h: Move NOTMUCH_BEGIN_DECLS earlier We actually need this before the include of xutil.h, but it was previously stuck randomly among various system includes. Instead, put it at the top, right after include the notmuch.h header that defines it. --- notmuch-private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notmuch-private.h b/notmuch-private.h index e64e92ff..7cd003f8 100644 --- a/notmuch-private.h +++ b/notmuch-private.h @@ -23,6 +23,8 @@ #include "notmuch.h" +NOTMUCH_BEGIN_DECLS + #ifndef _GNU_SOURCE #define _GNU_SOURCE /* For getline */ #endif @@ -39,8 +41,6 @@ #include #include -NOTMUCH_BEGIN_DECLS - #include #include "xutil.h"