We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e010078 commit 02990f2Copy full SHA for 02990f2
src/unix/mod.rs
@@ -352,7 +352,7 @@ extern {
352
pub fn opendir(dirname: *const c_char) -> *mut ::DIR;
353
#[cfg_attr(target_os = "macos", link_name = "readdir$INODE64")]
354
#[cfg_attr(target_os = "netbsd", link_name = "__readdir30")]
355
- pub fn readdir(dirp: *mut ::DIR) -> *const ::dirent;
+ pub fn readdir(dirp: *mut ::DIR) -> *mut ::dirent;
356
#[cfg_attr(target_os = "macos", link_name = "readdir_r$INODE64")]
357
#[cfg_attr(target_os = "netbsd", link_name = "__readdir_r30")]
358
pub fn readdir_r(dirp: *mut ::DIR, entry: *mut ::dirent,
0 commit comments