Skip to content

Commit eb6e2a2

Browse files
committed
Fix GCC 15 warnings
1 parent 6462998 commit eb6e2a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newlib/libc/posix/glob.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ glob3(pathbuf, pathend, pathend_last, pattern, restpattern, pglob, limit)
620620
* and dirent.h as taking pointers to differently typed opaque
621621
* structures.
622622
*/
623-
struct dirent *(*readdirfunc)();
623+
struct dirent *(*readdirfunc)(void *);
624624

625625
if (pathend > pathend_last)
626626
return (1);

0 commit comments

Comments
 (0)