eliminate function export struct workaround for posix_dent

This commit is contained in:
auronandace
2026-05-09 12:09:33 +01:00
parent 3caae5a009
commit 1b7a84633e
2 changed files with 3 additions and 3 deletions
+3
View File
@@ -18,3 +18,6 @@ cpp_compat = true
[enum]
prefix_with_name = true
[export]
include = ["posix_dent"]
-3
View File
@@ -394,6 +394,3 @@ pub extern "C" fn seekdir(dir: &mut DIR, off: c_long) {
pub extern "C" fn telldir(dir: &mut DIR) -> c_long {
dir.opaque_offset as c_long
}
#[unsafe(no_mangle)]
pub unsafe extern "C" fn cbindgen_stupid_struct_user_for_posix_dent(_: posix_dent) {}