From: Richard Russon Date: Sat, 6 Jul 2019 11:10:47 +0000 (+0100) Subject: notmuch: fix prototypes X-Git-Tag: 2019-10-25~146^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66bcf4058f7fca47c432f378833347bc5faf5d57;p=neomutt notmuch: fix prototypes --- diff --git a/notmuch/mutt_notmuch.h b/notmuch/mutt_notmuch.h index 72b8adb40..807958f42 100644 --- a/notmuch/mutt_notmuch.h +++ b/notmuch/mutt_notmuch.h @@ -65,7 +65,7 @@ char *nm_email_get_folder (struct Email *e); int nm_get_all_tags (struct Mailbox *m, char **tag_list, int *tag_count); bool nm_message_is_still_queried(struct Mailbox *m, struct Email *e); void nm_parse_type_from_query (struct NmMboxData *mdata, char *buf); -int nm_path_probe (const char *path, const struct stat *st); +enum MailboxType nm_path_probe (const char *path, const struct stat *st); void nm_query_window_backward (void); void nm_query_window_forward (void); int nm_read_entire_thread (struct Mailbox *m, struct Email *e); diff --git a/notmuch/notmuch_private.h b/notmuch/notmuch_private.h index ced303be7..1aa917a53 100644 --- a/notmuch/notmuch_private.h +++ b/notmuch/notmuch_private.h @@ -41,7 +41,7 @@ (LIBNOTMUCH_MAJOR_VERSION == (major) && \ LIBNOTMUCH_MINOR_VERSION == (minor) && LIBNOTMUCH_MICRO_VERSION >= (micro))) -const int NmUriProtocolLen; +extern const int NmUriProtocolLen; struct Mailbox;