Merge branch 'master' into next
[paraslash.git] / compress_filter.c
index 658983915fa7849e647d044646f202b3b095fbd9..2e263e87b0c6af2da12bd6226affe9f1b733e944 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2008 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2009 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -10,6 +10,8 @@
  * Uses ideas of AudioCompress, (C) 2002-2004  M. Hari Nezumi <magenta@trikuare.cx>
  */
 
+#include <regex.h>
+
 #include "para.h"
 #include "compress_filter.cmdline.h"
 #include "list.h"
@@ -22,8 +24,6 @@
 /** The size of the output data buffer. */
 #define COMPRESS_CHUNK_SIZE 40960
 
-extern char *stat_item_values[NUM_STAT_ITEMS];
-
 /** Data specific to the compress filter. */
 struct private_compress_data {
        /** The current multiplier. */
@@ -129,8 +129,6 @@ void compress_filter_init(struct filter *f)
        f->convert = compress;
        f->parse_config = compress_parse_config;
        f->help = (struct ggo_help) {
-               .purpose = compress_filter_args_info_purpose,
-               .usage = compress_filter_args_info_usage,
                .short_help = compress_filter_args_info_help,
                .detailed_help = compress_filter_args_info_detailed_help
        };