X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=recv.c;h=9de3033fee92925a4cd1446c8895f59055c82486;hp=f42a7dc04d70a8095cc9fe0becb298562710db61;hb=ce9e297eb91a932a11f81890c800d0380b5bc9c9;hpb=837cd1ab890645d9fd7d0d85139fdf076d987ea4 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);