X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=pop%2Fmx_pop.c;h=c1f204884897449d9b510e34998d9ba7c0fab871;hb=1a6071baa1d376cd45ab88891b00181bb84042f1;hp=34b6b456930b58d231ed545a0c26a8eea4656b49;hpb=b3cb6ed8d36c550a2e589910ce51bbc8352ff57c;p=apps%2Fmadmutt.git diff --git a/pop/mx_pop.c b/pop/mx_pop.c index 34b6b45..c1f2048 100644 --- a/pop/mx_pop.c +++ b/pop/mx_pop.c @@ -10,6 +10,8 @@ #include #include +#include +#include #include "mutt.h" #include "pop.h" @@ -17,17 +19,12 @@ #include "mx.h" #include "mx_pop.h" -#include "lib/mem.h" -#include "lib/str.h" - -#include "url.h" - -static int pop_is_magic (const char* path, struct stat* st) { +static int pop_is_magic (const char* path, struct stat* st __attribute__ ((unused))) { url_scheme_t s = url_check_scheme (NONULL (path)); return ((s == U_POP || s == U_POPS) ? M_POP : -1); } -static int acl_check_pop (CONTEXT* ctx, int bit) { +static int acl_check_pop (CONTEXT* ctx __attribute__ ((unused)), int bit) { switch (bit) { case ACL_INSERT: /* editing messages */ case ACL_WRITE: /* change importance */