X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/14c29200cb58d3c4a0830265f2433849781858d0..6e379aa69edcac0c46b79aa888fb7650297f6944:/group.c diff --git a/group.c b/group.c index 142acac..7f8206b 100644 --- a/group.c +++ b/group.c @@ -21,15 +21,10 @@ #endif #include "mutt.h" -#include "mapping.h" #include "mutt_curses.h" #include "mutt_regex.h" -#include "history.h" -#include "keymap.h" #include "mbyte.h" #include "charset.h" -#include "mutt_crypt.h" -#include "mutt_idna.h" #include #include @@ -91,12 +86,12 @@ void mutt_group_add_adrlist (group_t *g, ADDRESS *a) for (p = &g->as; *p; p = &((*p)->next)) ; - q = rfc822_cpy_adr (a); + q = rfc822_cpy_adr (a, 0); q = mutt_remove_xrefs (g->as, q); *p = q; } -int mutt_group_add_rx (group_t *g, const char *s, int flags, BUFFER *err) +static int mutt_group_add_rx (group_t *g, const char *s, int flags, BUFFER *err) { return mutt_add_to_rx_list (&g->rs, s, flags, err); }