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.
This commit is contained in:
Carl Worth 2009-10-21 15:51:13 -07:00
parent a6b3f341dc
commit 0bbfa57014

View file

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