Merge branch 'afh_cleanup' into next.
[paraslash.git] / send_common.c
index 200e59ab266e7f9c145e6aa7a3dc65ba25d83f52..a1757a51e0779416e7cdb947fff5fe4a94436f27 100644 (file)
@@ -7,6 +7,7 @@
 /** \file send_common.c Functions used by more than one paraslash sender. */
 
 #include <dirent.h>
+#include <osl.h>
 #include "para.h"
 #include "error.h"
 #include "string.h"
@@ -214,7 +215,7 @@ void init_sender_status(struct sender_status *ss, char **access_arg,
  *
  * \return The string printed in the "si" command.
  */
-char *get_sender_info(struct sender_status *ss, char *name)
+char *get_sender_info(struct sender_status *ss, const char *name)
 {
        char *clnts = NULL, *ret;
        struct sender_client *sc, *tmp_sc;