X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=fade.c;h=67dc4d5494c13ea8d6d167d56502b5818146bcff;hp=2a4eb1e1829168f0b94ebc24bc8138be5e9f226c;hb=63128eead92c4e07559b222e2d3d0999be8c82ff;hpb=f6a845d497ed6883e8318acc8a17d2ed07b85a51 diff --git a/fade.c b/fade.c index 2a4eb1e1..67dc4d54 100644 --- a/fade.c +++ b/fade.c @@ -17,7 +17,9 @@ #include "ggo.h" #include "version.h" -INIT_FADE_ERRLISTS; +/** Array of error strings. */ +DEFINE_PARA_ERRLIST; + static struct fade_args_info conf; enum mixer_id {MIXER_ENUM}; @@ -333,6 +335,17 @@ __noreturn static void print_help_and_die(void) exit(0); } +/** + * The main function of para_fade. + * + * The executable is linked with the alsa or the oss mixer API, or both. It has + * a custom log function which prefixes log messages with the current date. + * + * \param argc Argument counter. + * \param argv Argument vector. + * + * \return EXIT_SUCCESS or EXIT_FAILURE. + */ int main(int argc, char *argv[]) { int ret;