Skip to content

Commit

Permalink
Merge pull request rust-lang#39 from semarie/openbsd
Browse files Browse the repository at this point in the history
openbsd port
  • Loading branch information
alexcrichton committed Nov 4, 2015
2 parents 3bb2fef + cb6ef24 commit d3bd281
Show file tree
Hide file tree
Showing 4 changed files with 442 additions and 448 deletions.
2 changes: 1 addition & 1 deletion src/unix/bsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ cfg_if! {
mod apple;
pub use self::apple::*;
} else if #[cfg(any(target_os = "openbsd", target_os = "netbsd",
target_os = "dragonfly"))] {
target_os = "bitrig"))] {
mod openbsdlike;
pub use self::openbsdlike::*;
} else if #[cfg(any(target_os = "freebsd", target_os = "dragonfly"))] {
Expand Down
24 changes: 12 additions & 12 deletions src/unix/bsd/openbsdlike/bitrig.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
s! {
pub struct glob_t {
pub gl_pathc: c_int,
pub gl_matchc: c_int,
pub gl_offs: c_int,
pub gl_flags: c_int,
pub gl_pathv: *mut *mut c_char,
__unused1: *mut c_void,
__unused2: *mut c_void,
__unused3: *mut c_void,
__unused4: *mut c_void,
__unused5: *mut c_void,
__unused6: *mut c_void,
__unused7: *mut c_void,
pub gl_pathc: ::c_int,
pub gl_matchc: ::c_int,
pub gl_offs: ::c_int,
pub gl_flags: ::c_int,
pub gl_pathv: *mut *mut ::c_char,
__unused1: *mut ::c_void,
__unused2: *mut ::c_void,
__unused3: *mut ::c_void,
__unused4: *mut ::c_void,
__unused5: *mut ::c_void,
__unused6: *mut ::c_void,
__unused7: *mut ::c_void,
}
}
Loading

0 comments on commit d3bd281

Please sign in to comment.