From 5f03321a2006d85a211bf7e0cf130f1554bde675 Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Thu, 16 Nov 2017 03:19:44 +0000 Subject: [PATCH] doxygen: fix comments --- copy.c | 2 -- mutt/message.c | 6 ++---- parameter.c | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/copy.c b/copy.c index fbcdbabf7..dd76456d9 100644 --- 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 diff --git a/mutt/message.c b/mutt/message.c index bf390b8f8..2aaa8f053 100644 --- a/mutt/message.c +++ b/mutt/message.c @@ -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; diff --git a/parameter.c b/parameter.c index 8539bde33..8cc514341 100644 --- a/parameter.c +++ b/parameter.c @@ -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) { -- 2.40.0