Fix memory leaks in xxx_recv_init().
[paraslash.git] / osl.h
diff --git a/osl.h b/osl.h
index 06fe669e1f947fe18843e14725f20726da4be56d..3c35fd4eb5017d498529ba0987e2c28f78d4acd5 100644 (file)
--- a/osl.h
+++ b/osl.h
@@ -1,6 +1,6 @@
 #include <sys/mman.h>
 /*
- * Copyright (C) 2007 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2007-2009 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -180,7 +180,7 @@ int osl_get_rank(const struct osl_table *t, struct osl_row *r,
        unsigned col_num, unsigned *rank);
 
 int for_each_file_in_dir(const char *dirname,
-       int (*func)(const char *, const void *), const void *private_data);
+       int (*func)(const char *, void *), void *private_data);
 ssize_t para_write_all(int fd, const void *buf, size_t size);
 int para_lseek(int fd, off_t *offset, int whence);
 int para_write_file(const char *filename, const void *buf, size_t size);