]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-private.h
Move declarations for xutil.c from notmuch-private to new xutil.h.
[notmuch] / notmuch-private.h
index 2bf6beb456615074b76da2f62cfbaec5cd824c65..c60c4d89d0c297a6bdb56442566628f4590f1c25 100644 (file)
@@ -43,6 +43,7 @@ NOTMUCH_BEGIN_DECLS
 
 #include <talloc.h>
 
 
 #include <talloc.h>
 
+#include "xutil.h"
 
 /* Thanks to Andrew Tridgell's (SAMBA's) talloc for this definition of
  * unlikely. The talloc source code comes to us via the GNU LGPL v. 3.
 
 /* Thanks to Andrew Tridgell's (SAMBA's) talloc for this definition of
  * unlikely. The talloc source code comes to us via the GNU LGPL v. 3.
@@ -75,22 +76,6 @@ typedef enum {
     NOTMUCH_VALUE_DATE = 2
 } notmuch_value_t;
 
     NOTMUCH_VALUE_DATE = 2
 } notmuch_value_t;
 
-/* xutil.c */
-void *
-xcalloc (size_t nmemb, size_t size);
-
-void *
-xmalloc (size_t size);
-
-void *
-xrealloc (void *ptrr, size_t size);
-
-char *
-xstrdup (const char *s);
-
-char *
-xstrndup (const char *s, size_t n);
-
 /* message.cc */
 
 notmuch_message_t *
 /* message.cc */
 
 notmuch_message_t *