X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=osl.c;h=f06d4ba3fafa061a4e49e5d34c32648949282ff3;hb=1233e26da6b97795c9d6728faebe546da463f51e;hp=2519228890bc2c25f1b82da6887585afe42840ae;hpb=c0a7a2331aba8e8ae82dedd7960390c62857906e;p=paraslash.git diff --git a/osl.c b/osl.c index 25192288..f06d4ba3 100644 --- a/osl.c +++ b/osl.c @@ -12,7 +12,6 @@ #include "para.h" #include "error.h" #include "fd.h" -#include "list.h" #include "osl_core.h" /** * A wrapper for lseek(2). @@ -168,11 +167,10 @@ out: * are passed to \a func. Directories for which the calling process has no * permissions to change to are silently ignored. * - * \return On success, 1 is returned. Otherwise, this function returns a - * negative value which indicates the kind of the error. + * \return Standard. */ 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) { DIR *dir; struct dirent *entry;