From: Carl Worth Date: Wed, 21 Oct 2009 22:51:13 +0000 (-0700) Subject: notmuch-private.h: Move NOTMUCH_BEGIN_DECLS earlier X-Git-Tag: 0.1~785 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=0bbfa570147d2f0aa9d7e2afa1109526efdb353f;ds=inline 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. --- 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"