server: Convert com_addatt() to lopsub.
[paraslash.git] / recv.c
diff --git a/recv.c b/recv.c
index b066a8e497c30f1ed503354dd0526274715a9963..9de3033fee92925a4cd1446c8895f59055c82486 100644 (file)
--- a/recv.c
+++ b/recv.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2014 Andre Noll <maan@tuebingen.mpg.de>
+ * Copyright (C) 2005 Andre Noll <maan@tuebingen.mpg.de>
  *
  * 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);