X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=recv.c;h=9de3033fee92925a4cd1446c8895f59055c82486;hp=f42a7dc04d70a8095cc9fe0becb298562710db61;hb=534a94f441767947874cb15d18211edf758e9277;hpb=6e0b28e02a1013c019a3225e922b71f913bfbae4 diff --git a/recv.c b/recv.c index f42a7dc0..9de3033f 100644 --- a/recv.c +++ b/recv.c @@ -22,6 +22,9 @@ #include "stdout.h" #include "version.h" +/** Array of error strings. */ +DEFINE_PARA_ERRLIST; + extern void afh_recv_init(struct receiver *r); #undef AFH_RECEIVER #define AFH_RECEIVER {.name = "afh", .init = afh_recv_init}, @@ -34,9 +37,6 @@ static int loglevel; /** Always log to stderr. */ INIT_STDERR_LOGGING(loglevel); -/** init array of error codes used by para_recv */ -INIT_RECV_ERRLISTS; - __noreturn static void print_help_and_die(void) { struct ggo_help h = DEFINE_GGO_HELP(recv);