]> granicus.if.org Git - neomutt/commitdiff
fix comment order
authorRichard Russon <rich@flatcap.org>
Thu, 7 Jun 2018 12:04:11 +0000 (13:04 +0100)
committerRichard Russon <rich@flatcap.org>
Mon, 11 Jun 2018 11:08:04 +0000 (12:08 +0100)
mx.h

diff --git a/mx.h b/mx.h
index 4da1b2fbf5e66104f145daba635d1919ad207e30..6e1a40f399156b93c81cf89f0edec3be17b0d090 100644 (file)
--- a/mx.h
+++ b/mx.h
@@ -44,21 +44,13 @@ struct stat;
  */
 struct MxOps
 {
-  /**
-   * mbox_check - Check for new mail
-   * @param ctx Mailbox
-   * @param index_hint Remember our place in the index
-   * @retval >0 Success, e.g. #MUTT_REOPENED
-   * @retval -1 Error
-   */
-  int (*mbox_open)       (struct Context *ctx);
   /**
    * mbox_open - Open a mailbox
    * @param ctx Mailbox to open
    * @retval  0 Success
    * @retval -1 Error
    */
-  int (*mbox_open_append)(struct Context *ctx, int flags);
+  int (*mbox_open)       (struct Context *ctx);
   /**
    * mbox_open_append - Open a mailbox for appending
    * @param ctx   Mailbox to open
@@ -66,6 +58,14 @@ struct MxOps
    * @retval  0 Success
    * @retval -1 Failure
    */
+  int (*mbox_open_append)(struct Context *ctx, int flags);
+  /**
+   * mbox_check - Check for new mail
+   * @param ctx Mailbox
+   * @param index_hint Remember our place in the index
+   * @retval >0 Success, e.g. #MUTT_REOPENED
+   * @retval -1 Error
+   */
   int (*mbox_check)      (struct Context *ctx, int *index_hint);
   /**
    * mbox_sync - Save changes to the mailbox