Merge branch 'sysprocfs-structs' into 'master'
remove function struct export workaround for sys_procfs header See merge request redox-os/relibc!1347
This commit is contained in:
@@ -1,7 +1,17 @@
|
||||
sys_includes = ["sys/user.h"]
|
||||
include_guard = "_SYS_PROCFS_H"
|
||||
include_guard = "_RELIBC_SYS_PROCFS_H"
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
|
||||
[enum]
|
||||
prefix_with_name = true
|
||||
|
||||
[export]
|
||||
include = [
|
||||
"psaddr_t",
|
||||
"prgregset_t",
|
||||
"prfpregset_t",
|
||||
"lwpid_t",
|
||||
"prstatus_t",
|
||||
"prpsinfo_t",
|
||||
]
|
||||
|
||||
@@ -64,14 +64,3 @@ pub type prfpregset_t = elf_fpregset_t;
|
||||
pub type lwpid_t = pid_t;
|
||||
pub type prstatus_t = elf_prstatus;
|
||||
pub type prpsinfo_t = elf_prpsinfo;
|
||||
|
||||
#[unsafe(no_mangle)]
|
||||
pub extern "C" fn _cbindgen_export_procfs(
|
||||
a: psaddr_t,
|
||||
b: prgregset_t,
|
||||
c: prfpregset_t,
|
||||
d: lwpid_t,
|
||||
e: prstatus_t,
|
||||
f: prpsinfo_t,
|
||||
) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user