Rename osl index entry stuff.
[paraslash.git] / random_selector.c
index bef1b7fdb96bdcd0e35c540f9c82d0c179929590..bcbdae692b09269d46ffb370be6a139fab8540f5 100644 (file)
@@ -7,9 +7,11 @@
 /** \file random_selector.c An audio file selector which chooses files by random */
 
 #include <sys/time.h> /* gettimeofday */
+#include "para.h"
 #include "server.cmdline.h"
+#include "afh.h"
 #include "server.h"
-#include "afs.h"
+#include "afs_common.h"
 #include "error.h"
 #include "net.h"
 #include "string.h"
@@ -36,7 +38,7 @@ static int remember_file(const char *dir, const char *name)
        return 1;
 }
 
-int com_random_info(int fd, __a_unused int argc, __a_unused char *argv[])
+int com_random_info(int fd, __a_unused int argc, __a_unused char * const * const argv)
 {
        return send_buffer(fd, "Don't use for huge directories as it is "
                "very inefficient in this case.\n");