From ce108cc83ca9c1e8d7a9caa27e1092c86a03d452 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 26 Jul 2011 04:04:45 +0000 Subject: =?UTF-8?q?2011-07-26=20=20Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libc/sys/rtems/sys/dirent.h (scandir): Add const to "select" parameter. --- newlib/libc/sys/rtems/sys/dirent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/sys/rtems') diff --git a/newlib/libc/sys/rtems/sys/dirent.h b/newlib/libc/sys/rtems/sys/dirent.h index 9cd4f3657..c52c7bcf7 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 **) ); -- cgit v1.2.3