summaryrefslogtreecommitdiff
path: root/notmuch-private.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2009-10-21 15:51:13 -0700
committerCarl Worth <cworth@cworth.org>2009-10-21 15:51:13 -0700
commit0bbfa570147d2f0aa9d7e2afa1109526efdb353f (patch)
treec5ef427cf4e85fac7c32f48b7adfe08534570e01 /notmuch-private.h
parenta6b3f341dcfbf1160a02d02879a36777bcf459f1 (diff)
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.
Diffstat (limited to 'notmuch-private.h')
-rw-r--r--notmuch-private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch-private.h b/notmuch-private.h
index e64e92f..7cd003f 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 <unistd.h>
#include <ctype.h>
-NOTMUCH_BEGIN_DECLS
-
#include <talloc.h>
#include "xutil.h"