]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - fade.c
Merge branch 'refs/heads/t/simple_error_codes'
[paraslash.git] / fade.c
diff --git a/fade.c b/fade.c
index 2a4eb1e1829168f0b94ebc24bc8138be5e9f226c..67dc4d5494c13ea8d6d167d56502b5818146bcff 100644 (file)
--- 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;