diff options
Diffstat (limited to 'libc/misc/dirent')
-rw-r--r-- | libc/misc/dirent/dirstream.h | 2 | ||||
-rw-r--r-- | libc/misc/dirent/scandir.c | 2 | ||||
-rw-r--r-- | libc/misc/dirent/scandir64.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libc/misc/dirent/dirstream.h b/libc/misc/dirent/dirstream.h index 761111b9e..370886aa7 100644 --- a/libc/misc/dirent/dirstream.h +++ b/libc/misc/dirent/dirstream.h @@ -60,7 +60,7 @@ struct __dirstream { /* total size of buffer */ size_t dd_max; - + /* lock */ __UCLIBC_MUTEX(dd_lock); }; /* stream data from opendir() */ diff --git a/libc/misc/dirent/scandir.c b/libc/misc/dirent/scandir.c index 0e823ad98..aba63f20b 100644 --- a/libc/misc/dirent/scandir.c +++ b/libc/misc/dirent/scandir.c @@ -18,7 +18,7 @@ libc_hidden_proto(opendir) libc_hidden_proto(closedir) libc_hidden_proto(qsort) -int scandir(const char *dir, struct dirent ***namelist, +int scandir(const char *dir, struct dirent ***namelist, int (*selector) (const struct dirent *), int (*compar) (const void *, const void *)) { diff --git a/libc/misc/dirent/scandir64.c b/libc/misc/dirent/scandir64.c index 98433f46d..083d2de18 100644 --- a/libc/misc/dirent/scandir64.c +++ b/libc/misc/dirent/scandir64.c @@ -14,7 +14,7 @@ You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. + 02111-1307 USA. */ /* Modified for uClibc by Erik Andersen @@ -36,7 +36,7 @@ libc_hidden_proto(closedir) libc_hidden_proto(qsort) libc_hidden_proto(readdir64) -int scandir64(const char *dir, struct dirent64 ***namelist, +int scandir64(const char *dir, struct dirent64 ***namelist, int (*selector) (const struct dirent64 *), int (*compar) (const void *, const void *)) { |