One way to get rid of the annoying warnings about asprintf() not being
declared is to always call a mailutils wrapper function, which in turn calls the real function. That means the wrappers (and other functions in lib) will still compile with warnings, but the mailbox and utility code can compile clean.
Showing
4 changed files
with
68 additions
and
3 deletions
lib/mu_asprintf.c
0 → 100644
lib/mu_asprintf.h
0 → 100644
-
Please register or sign in to post a comment