aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/sys
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r--newlib/libc/sys/rtems/sys/dirent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/sys/rtems/sys/dirent.h b/newlib/libc/sys/rtems/sys/dirent.h
index 9cd4f36..c52c7bc 100644
--- a/newlib/libc/sys/rtems/sys/dirent.h
+++ b/newlib/libc/sys/rtems/sys/dirent.h
@@ -50,7 +50,7 @@ struct dirent {
int scandir ( const char *dirname,
struct dirent *** namelist,
- int (*select)(struct dirent *),
+ int (*select)(const struct dirent *),
int (*dcomp)(const struct dirent **, const struct dirent **)
);