@@ -1862,14 +1862,6 @@ f! {
1862
1862
}
1863
1863
}
1864
1864
1865
- pub type door_server_proc_t = extern fn (
1866
- cookie : * const :: c_void ,
1867
- argp : * const :: c_char ,
1868
- arg_size : :: size_t ,
1869
- dp : * const door_desc_t ,
1870
- n_desc : :: c_uint
1871
- ) ;
1872
-
1873
1865
extern {
1874
1866
pub fn getrlimit ( resource : :: c_int , rlim : * mut :: rlimit ) -> :: c_int ;
1875
1867
pub fn setrlimit ( resource : :: c_int , rlim : * const :: rlimit ) -> :: c_int ;
@@ -2144,8 +2136,17 @@ extern {
2144
2136
pub fn uname ( buf : * mut :: utsname ) -> :: c_int ;
2145
2137
pub fn pipe2 ( fds : * mut :: c_int , flags : :: c_int ) -> :: c_int ;
2146
2138
pub fn door_call ( d : :: c_int , params : * const door_arg_t ) -> :: c_int ;
2147
- pub fn door_return ( data_ptr : * const :: c_char , data_size : :: size_t , desc_ptr : * const door_desc_t , num_desc : :: c_uint ) ;
2148
- pub fn door_create ( server_procedure : door_server_proc_t , cookie : * const :: c_void , attributes : door_attr_t ) -> :: c_int ;
2139
+ pub fn door_return ( data_ptr : * const :: c_char ,
2140
+ data_size : :: size_t ,
2141
+ desc_ptr : * const door_desc_t ,
2142
+ num_desc : :: c_uint ) ;
2143
+ pub fn door_create ( server_procedure : extern fn ( cookie : * const :: c_void ,
2144
+ argp : * const :: c_char ,
2145
+ arg_size : :: size_t ,
2146
+ dp : * const door_desc_t ,
2147
+ n_desc : :: c_uint ) ,
2148
+ cookie : * const :: c_void ,
2149
+ attributes : door_attr_t ) -> :: c_int ;
2149
2150
pub fn fattach ( fildes : :: c_int , path : * const :: c_char ) -> :: c_int ;
2150
2151
}
2151
2152
0 commit comments