server: Convert com_mvatt() to lopsub.
[paraslash.git] / play.c
diff --git a/play.c b/play.c
index 46e8ff7d6f099e016cca6338dc399e210b9e5c97..fac551aa161d14f258e1495a4530462ca1146357 100644 (file)
--- a/play.c
+++ b/play.c
@@ -36,6 +36,9 @@
  * Playlist handling is done exclusively in play context.
  */
 
+/** Array of error strings. */
+DEFINE_PARA_ERRLIST;
+
 /**
  * Describes a request to change the state of para_play.
  *
@@ -95,9 +98,6 @@ struct play_task {
        char *afhi_txt;
 };
 
-/** Initialize the array of errors for para_play. */
-INIT_PLAY_ERRLISTS;
-
 /* Activate the afh receiver. */
 extern void afh_recv_init(struct receiver *r);
 #undef AFH_RECEIVER