diff --git a/src/header/glob/mod.rs b/src/header/glob/mod.rs index 0041fe2f61..9eb9697332 100644 --- a/src/header/glob/mod.rs +++ b/src/header/glob/mod.rs @@ -41,9 +41,8 @@ pub const GLOB_ABORTED: c_int = 2; // Pattern does not match any existing pathname, and GLOB_NOCHECK was not set pub const GLOB_NOMATCH: c_int = 3; -#[linkage = "weak"] // GNU prefers its own glob e.g. in Make -#[repr(C)] #[derive(Debug)] +#[repr(C)] pub struct glob_t { pub gl_pathc: size_t, // Count of paths matched by pattern (POSIX required field) pub gl_offs: size_t, // Slots to reserve at the beginning of gl_pathv (POSIX required field)