X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=random_selector.c;h=bcbdae692b09269d46ffb370be6a139fab8540f5;hp=c3d7e9b0be860fdd635bbe54f64e6dd02ec8f493;hb=9f5b1abaf6b1621f34622c9808a423fa65a72c82;hpb=77264e47dcd6a606ecff2f86f14359f25ab0eba0 diff --git a/random_selector.c b/random_selector.c index c3d7e9b0..bcbdae69 100644 --- a/random_selector.c +++ b/random_selector.c @@ -7,7 +7,9 @@ /** \file random_selector.c An audio file selector which chooses files by random */ #include /* gettimeofday */ +#include "para.h" #include "server.cmdline.h" +#include "afh.h" #include "server.h" #include "afs_common.h" #include "error.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");