Remove the .purpose and .help args from struct ggo_help.
authorAndre Noll <maan@systemlinux.org>
Sat, 6 Dec 2008 13:42:28 +0000 (14:42 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 6 Dec 2008 13:42:28 +0000 (14:42 +0100)
alsa_write.c
amp_filter.c
compress_filter.c
file_write.c
ggo.h
mp3dec_filter.c
oggdec_filter.c

index 9f60d6d..ae47167 100644 (file)
@@ -247,8 +247,6 @@ void alsa_write_init(struct writer *w)
        w->parse_config = alsa_parse_config;
        w->shutdown = NULL; /* nothing to do */
        w->help = (struct ggo_help) {
-               .purpose = alsa_write_args_info_purpose,
-               .usage = alsa_write_args_info_usage,
                .short_help = alsa_write_args_info_help,
                .detailed_help = alsa_write_args_info_detailed_help
        };
index f6e2205..a88719e 100644 (file)
@@ -101,8 +101,6 @@ void amp_filter_init(struct filter *f)
        f->convert = amp_convert;
        f->parse_config = amp_parse_config;
        f->help = (struct ggo_help) {
-               .purpose = amp_filter_args_info_purpose,
-               .usage = amp_filter_args_info_usage,
                .short_help = amp_filter_args_info_help,
                .detailed_help = amp_filter_args_info_detailed_help
        };
index 6589839..c7af325 100644 (file)
@@ -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
        };
index be1e771..533d333 100644 (file)
@@ -120,8 +120,6 @@ void file_write_init(struct writer *w)
        w->close = file_write_close;
        w->shutdown = NULL; /* nothing to do */
        w->help = (struct ggo_help) {
-               .purpose = file_write_args_info_purpose,
-               .usage = file_write_args_info_usage,
                .short_help = file_write_args_info_help,
                .detailed_help = file_write_args_info_detailed_help
        };
diff --git a/ggo.h b/ggo.h
index 40723ea..c9111b1 100644 (file)
--- a/ggo.h
+++ b/ggo.h
@@ -1,6 +1,4 @@
 struct ggo_help {
-       const char *purpose;
-       const char *usage;
        const char **short_help;
        const char **detailed_help;
 };
index 8fa7094..ce6cfbc 100644 (file)
@@ -159,8 +159,6 @@ void mp3dec_filter_init(struct filter *f)
        f->close = mp3dec_close;
        f->parse_config = mp3dec_parse_config;
        f->help = (struct ggo_help) {
-               .purpose = mp3dec_filter_args_info_purpose,
-               .usage = mp3dec_filter_args_info_usage,
                .short_help = mp3dec_filter_args_info_help,
                .detailed_help = mp3dec_filter_args_info_detailed_help
        };
index 7c79fd5..0653f7d 100644 (file)
@@ -204,8 +204,6 @@ void oggdec_filter_init(struct filter *f)
        f->convert = ogg_convert;
        f->parse_config = oggdec_parse_config;
        f->help = (struct ggo_help) {
-               .purpose = oggdec_filter_args_info_purpose,
-               .usage = oggdec_filter_args_info_usage,
                .short_help = oggdec_filter_args_info_help,
                .detailed_help = oggdec_filter_args_info_detailed_help
        };