about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-04-30 22:26:43 -0500
committerGraydon Hoare <graydon@mozilla.com>2013-05-01 16:49:58 -0700
commited81e3353ea8d92b61669dc8d8692d5e9b01a8f4 (patch)
tree7c02e5577563b392d8916d7c1124453e6b47c75a
parent685baed34ed2d5a94675bb5773c9f968ea133533 (diff)
downloadrust-ed81e3353ea8d92b61669dc8d8692d5e9b01a8f4.tar.gz
rust-ed81e3353ea8d92b61669dc8d8692d5e9b01a8f4.zip
glob_t should be public on all platforms
-rw-r--r--src/libcore/libc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/libc.rs b/src/libcore/libc.rs
index b5c444dedf8..999a5d9b350 100644
--- a/src/libcore/libc.rs
+++ b/src/libcore/libc.rs
@@ -387,7 +387,7 @@ pub mod types {
             pub mod posix01 {
                 use libc::types::common::c95::{c_void};
                 use libc::types::os::arch::c95::{c_char, c_int, size_t};
-                struct glob_t {
+                pub struct glob_t {
                     gl_pathc:  size_t,
                     __unused1: size_t,
                     gl_offs:   size_t,
@@ -606,7 +606,7 @@ pub mod types {
             pub mod posix01 {
                 use libc::types::common::c95::{c_void};
                 use libc::types::os::arch::c95::{c_char, c_int, size_t};
-                struct glob_t {
+                pub struct glob_t {
                     gl_pathc:  size_t,
                     __unused1: c_int,
                     gl_offs:   size_t,