X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=recv.c;h=9de3033fee92925a4cd1446c8895f59055c82486;hp=b066a8e497c30f1ed503354dd0526274715a9963;hb=534a94f441767947874cb15d18211edf758e9277;hpb=97ad8ac8735dfd7a514aa66e9de54f253440c17d diff --git a/recv.c b/recv.c index b066a8e4..9de3033f 100644 --- a/recv.c +++ b/recv.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2014 Andre Noll + * Copyright (C) 2005 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -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);