]> granicus.if.org Git - neomutt/commitdiff
doxygen: fix comments
authorRichard Russon <rich@flatcap.org>
Thu, 16 Nov 2017 03:19:44 +0000 (03:19 +0000)
committerRichard Russon <rich@flatcap.org>
Sun, 26 Nov 2017 22:43:16 +0000 (22:43 +0000)
copy.c
mutt/message.c
parameter.c

diff --git a/copy.c b/copy.c
index fbcdbabf797098c6c0362bad10d1bf2b59ccd29f..dd76456d9fbda8b7050c8fae9c83b9ccbddc6733 100644 (file)
--- a/copy.c
+++ b/copy.c
@@ -538,7 +538,6 @@ static int count_delete_lines(FILE *fp, struct Body *b, LOFF_T *length, size_t d
  * @param fpout   Where to write output
  * @param fpin    Where to get input
  * @param hdr     Header of message being copied
- * @param body    Structure of message being copied
  * @param flags   See below
  * @param chflags Flags to mutt_copy_header()
  *
@@ -784,7 +783,6 @@ int mutt_copy_message_ctx(FILE *fpout, struct Context *src, struct Header *hdr,
  * @param fpin    where to get input
  * @param src     source mailbox
  * @param hdr     message being copied
- * @param body    structure of message being copied
  * @param flags   mutt_open_copy_message() flags
  * @param chflags mutt_copy_header() flags
  * @retval 0 on success
index bf390b8f8ed9fee7a2d08ee50c047eeba01b0072..2aaa8f053c71205286d6b01f1a4469252b948621 100644 (file)
@@ -57,8 +57,6 @@ static void default_error(const char *format, ...)
   fputc('\n', stderr);
 }
 
-void (*mutt_error)(const char *, ...) = default_error;
-
 /**
  * default_message - Display an informative message
  * @param format printf-like formatting string
@@ -75,8 +73,6 @@ static void default_message(const char *format, ...)
   fputc('\n', stdout);
 }
 
-void (*mutt_message)(const char *, ...) = default_message;
-
 /**
  * default_perror - Lookup a standard error message (using errno)
  * @param message Prefix message to display
@@ -90,4 +86,6 @@ static void default_perror(const char *message)
   mutt_error("%s: %s (errno = %d)", message, p ? p : _("unknown error"), errno);
 }
 
+void (*mutt_error)(const char *, ...) = default_error;
+void (*mutt_message)(const char *, ...) = default_message;
 void (*mutt_perror)(const char *) = default_perror;
index 8539bde3335dffffb1faf72a16db833731c431a2..8cc5143417053009f3fbb411abd2c2b121437764 100644 (file)
@@ -61,7 +61,7 @@ void mutt_free_parameter(struct Parameter **p)
  * @param s String to match
  * @param p Parameter list
  * @retval ptr Matching Parameter
- * @reval NULL No match
+ * @retval NULL No match
  */
 char *mutt_get_parameter(const char *s, struct Parameter *p)
 {