diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-07-26 04:04:45 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-07-26 04:04:45 +0000 |
commit | ce108cc83ca9c1e8d7a9caa27e1092c86a03d452 (patch) | |
tree | ddc40ad082b3f52d83029652fd0c843b8fa5f4f0 /newlib/libc/sys | |
parent | 080c39ca2ab62c372606a649ae93de94e0b15c0b (diff) | |
download | newlib-ce108cc83ca9c1e8d7a9caa27e1092c86a03d452.zip newlib-ce108cc83ca9c1e8d7a9caa27e1092c86a03d452.tar.gz newlib-ce108cc83ca9c1e8d7a9caa27e1092c86a03d452.tar.bz2 |
2011-07-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* libc/sys/rtems/sys/dirent.h (scandir):
Add const to "select" parameter.
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r-- | newlib/libc/sys/rtems/sys/dirent.h | 2 |
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 **) ); |