projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix compilation
[apps/madmutt.git]
/
compress.c
diff --git
a/compress.c
b/compress.c
index
21b3c14
..
6c801e8
100644
(file)
--- a/
compress.c
+++ b/
compress.c
@@
-7,15
+7,7
@@
* please see the file GPL in the top level source directory.
*/
* please see the file GPL in the top level source directory.
*/
-#include <errno.h>
-#include <string.h>
-#include <unistd.h>
-#include <sys/stat.h>
-
-#include <lib-lib/mem.h>
-#include <lib-lib/str.h>
-#include <lib-lib/macros.h>
-#include <lib-lib/file.h>
+#include <lib-lib/lib-lib.h>
#include <lib-sys/mutt_signal.h>
#include <lib-sys/unix.h>
#include <lib-sys/mutt_signal.h>
#include <lib-sys/unix.h>
@@
-154,10
+146,10
@@
static void store_size (CONTEXT * ctx)
static const char *compresshook_format_str (char *dest, ssize_t destlen,
char op, const char *src,
const char *fmt,
static const char *compresshook_format_str (char *dest, ssize_t destlen,
char op, const char *src,
const char *fmt,
- const char *ifstring,
- const char *elsestring,
+ const char *ifstring
__attribute__ ((unused))
,
+ const char *elsestring
__attribute__ ((unused))
,
unsigned long data,
unsigned long data,
- format_flag flags)
+ format_flag flags
__attribute__ ((unused))
)
{
char tmp[SHORT_STRING];
{
char tmp[SHORT_STRING];