Skip to content

Reorganize_definitions on libexpat renames stdlib read function #1601

@ahomescu

Description

@ahomescu

Running reorganize_definitions on libexpat produced a renamed read_1 function with a ssize_t_1 return type:

diff --git a/lib.rs b/lib.rs
index 88a9cfb5..53e897a4 100644
--- a/lib.rs
+++ b/lib.rs
@@ -908,12 +908,6 @@ pub mod stdlib {
             __nbytes: crate::__stddef_size_t_h::size_t,
         ) -> crate::stdlib::ssize_t;

-        pub fn read_1(
-            __fd: ::core::ffi::c_int,
-            __buf: *mut ::core::ffi::c_void,
-            __nbytes: crate::__stddef_size_t_h::size_t,
-        ) -> crate::stdlib::ssize_t_1;
-
         pub fn getpid() -> crate::stdlib::__pid_t;
     }
     pub type FILE = crate::stdlib::_IO_FILE;
@@ -992,7 +986,6 @@ pub mod stdlib {
         pub tv_sec: crate::stdlib::__time_t,
         pub tv_usec: crate::stdlib::__suseconds_t,
     }
-    pub type ssize_t_1 = isize;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions