X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=fade.c;h=d54225983e19de659697843cfbfab1e74c1faec0;hp=5fbd0dd48027ad990345aa5d8f86fa0d952e6188;hb=e5fbc490c2c16ecfa7bce58a18e11a0f7d382b91;hpb=432c494434722b8dd590f712e5298ff7fb6a6719 diff --git a/fade.c b/fade.c index 5fbd0dd4..d5422598 100644 --- a/fade.c +++ b/fade.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-2011 Andre Noll + * Copyright (C) 1998-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -8,7 +8,6 @@ #include #include -#include #include #include #include /* EXIT_SUCCESS */ @@ -23,11 +22,12 @@ #include "fd.h" #include "string.h" #include "error.h" +#include "version.h" INIT_FADE_ERRLISTS; static struct fade_args_info conf; -__printf_2_3 void para_log(__a_unused int ll, const char *fmt, ...) +__printf_2_3 void date_log(__a_unused int ll, const char *fmt, ...) { va_list argp; time_t t1; @@ -40,6 +40,7 @@ __printf_2_3 void para_log(__a_unused int ll, const char *fmt, ...) vprintf(fmt, argp); va_end(argp); } +__printf_2_3 void (*para_log)(int, const char*, ...) = date_log; /* * Open the mixer device.