Skip to content

Commit 45eb4b1

Browse files
committed
---
yaml --- r: 81902 b: refs/heads/master c: 930f779 h: refs/heads/master v: v3
1 parent 9b724bb commit 45eb4b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: a8a69ec15dce8bed5827d02e92cdb9fe2857b829
2+
refs/heads/master: 930f7790fbad87f1ddf26a34b089622bc8a742c8
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a
55
refs/heads/try: 70152ff55722878cde684ee6462c14c65f2c4729

trunk/src/libstd/libc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3224,14 +3224,14 @@ pub mod funcs {
32243224
#[nolink]
32253225
#[abi = "cdecl"]
32263226
pub mod glob {
3227-
use libc::types::common::c95::{c_void};
32283227
use libc::types::os::arch::c95::{c_char, c_int};
32293228
use libc::types::os::common::posix01::{glob_t};
3229+
use option::Option;
32303230

32313231
extern {
32323232
pub fn glob(pattern: *c_char,
32333233
flags: c_int,
3234-
errfunc: *c_void, // XXX callback
3234+
errfunc: Option<extern "C" fn(epath: *c_char, errno: int) -> int>,
32353235
pglob: *mut glob_t);
32363236
pub fn globfree(pglob: *mut glob_t);
32373237
}

0 commit comments

Comments
 (0)