]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - playlist_selector.c
Switch to the new afs.
[paraslash.git] / playlist_selector.c
index 9eb6305a9f5e26915b2eb6c07f4768943a14dda0..2d076ee63728e4383892d93a0daba96dceb8baed 100644 (file)
@@ -6,14 +6,17 @@
 
 /** \file playlist_selector.c The playlist audio file selector of paraslash  */
 
+#include <signal.h>
 #include "para.h"
+#include "error.h"
+#include "string.h"
 #include "afh.h"
+#include "afs.h"
 #include "server.h"
 #include "afs_common.h"
-#include "error.h"
 #include "net.h"
-#include "string.h"
 #include "ipc.h"
+#include "list.h"
 #include "user_list.h"
 #include "playlist_selector_command_list.h"
 
@@ -109,7 +112,7 @@ out:
        return ret;
 }
 
-int com_lpl(int fd, __a_unused int argc, __a_unused char *argv[])
+int com_lpl(int fd, __a_unused int argc, __a_unused char * const * const argv)
 {
        unsigned loaded = 0;
        size_t bufsize = 4096; /* guess that's enough */
@@ -140,7 +143,7 @@ out:
        return ret;
 }
 
-int com_ppl(int fd, __a_unused int argc, __a_unused char *argv[])
+int com_ppl(int fd, __a_unused int argc, __a_unused char * const * const argv)
 {
        unsigned i;