From a00bb171f7ca390e3eb9edf8f7c83c32cbaf81ab Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 6 Dec 2008 14:42:28 +0100 Subject: [PATCH] Remove the .purpose and .help args from struct ggo_help. --- alsa_write.c | 2 -- amp_filter.c | 2 -- compress_filter.c | 2 -- file_write.c | 2 -- ggo.h | 2 -- mp3dec_filter.c | 2 -- oggdec_filter.c | 2 -- 7 files changed, 14 deletions(-) diff --git a/alsa_write.c b/alsa_write.c index 9f60d6d8..ae471679 100644 --- a/alsa_write.c +++ b/alsa_write.c @@ -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 }; diff --git a/amp_filter.c b/amp_filter.c index f6e22059..a88719e3 100644 --- a/amp_filter.c +++ b/amp_filter.c @@ -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 }; diff --git a/compress_filter.c b/compress_filter.c index 65898391..c7af3253 100644 --- a/compress_filter.c +++ b/compress_filter.c @@ -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 }; diff --git a/file_write.c b/file_write.c index be1e7713..533d3331 100644 --- a/file_write.c +++ b/file_write.c @@ -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 40723ea9..c9111b16 100644 --- 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; }; diff --git a/mp3dec_filter.c b/mp3dec_filter.c index 8fa70944..ce6cfbcb 100644 --- a/mp3dec_filter.c +++ b/mp3dec_filter.c @@ -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 }; diff --git a/oggdec_filter.c b/oggdec_filter.c index 7c79fd50..0653f7da 100644 --- a/oggdec_filter.c +++ b/oggdec_filter.c @@ -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 }; -- 2.39.5