File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: a8a69ec15dce8bed5827d02e92cdb9fe2857b829
2
+ refs/heads/master: 930f7790fbad87f1ddf26a34b089622bc8a742c8
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a
5
5
refs/heads/try: 70152ff55722878cde684ee6462c14c65f2c4729
Original file line number Diff line number Diff line change @@ -3224,14 +3224,14 @@ pub mod funcs {
3224
3224
#[ nolink]
3225
3225
#[ abi = "cdecl" ]
3226
3226
pub mod glob {
3227
- use libc:: types:: common:: c95:: { c_void} ;
3228
3227
use libc:: types:: os:: arch:: c95:: { c_char, c_int} ;
3229
3228
use libc:: types:: os:: common:: posix01:: { glob_t} ;
3229
+ use option:: Option ;
3230
3230
3231
3231
extern {
3232
3232
pub fn glob ( pattern : * c_char ,
3233
3233
flags : c_int ,
3234
- errfunc : * c_void , // XXX callback
3234
+ errfunc : Option < extern "C" fn ( epath : * c_char , errno : int ) -> int > ,
3235
3235
pglob : * mut glob_t ) ;
3236
3236
pub fn globfree ( pglob : * mut glob_t ) ;
3237
3237
}
You can’t perform that action at this time.
0 commit comments