Merge branch 'master' into next
[paraslash.git] / compress_filter.c
index 6589839..2e263e8 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.
  */
  *
  * 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>
  */
 
  * 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"
 #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
 
 /** 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. */
 /** 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) {
        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
        };
                .short_help = compress_filter_args_info_help,
                .detailed_help = compress_filter_args_info_detailed_help
        };