projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6b3f34
)
notmuch-private.h: Move NOTMUCH_BEGIN_DECLS earlier
author
Carl Worth
<cworth@cworth.org>
Wed, 21 Oct 2009 22:51:13 +0000
(15:51 -0700)
committer
Carl Worth
<cworth@cworth.org>
Wed, 21 Oct 2009 22:51:13 +0000
(15:51 -0700)
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
patch
|
blob
|
history
diff --git
a/notmuch-private.h
b/notmuch-private.h
index e64e92ffae44e4e2050fbf992599153b8b087401..7cd003f84e5607f997362cc4e1aec4a69d7c5c29 100644
(file)
--- 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"