X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=audiod.c;h=fa4019160bf8148a8503fa856c5dac3f9103b260;hb=ce9e297eb91a932a11f81890c800d0380b5bc9c9;hp=bd97f15e22e1629e8b9b0895420438dd5fb46194;hpb=b52342d0b5df5446f149f0c1daf26f6e25b2aba7;p=paraslash.git diff --git a/audiod.c b/audiod.c index bd97f15e..fa401916 100644 --- a/audiod.c +++ b/audiod.c @@ -15,6 +15,7 @@ #include #include #include +#include #include "para.h" #include "error.h" @@ -39,9 +40,10 @@ #include "signal.h" #include "version.h" +/** Array of error strings. */ +DEFINE_PARA_ERRLIST; + __printf_2_3 void (*para_log)(int, const char*, ...) = daemon_log; -/** define the array of error lists needed by para_audiod */ -INIT_AUDIOD_ERRLISTS; /** define the array containing all supported audio formats */ const char *audio_formats[] = {AUDIOD_AUDIO_FORMAT_ARRAY NULL};