diff --git a/src/header/errno/mod.rs b/src/header/errno/mod.rs index 2133702d3c..71901a0672 100644 --- a/src/header/errno/mod.rs +++ b/src/header/errno/mod.rs @@ -178,7 +178,7 @@ pub const EOWNERDEAD: c_int = 130; /* Owner died */ pub const ENOTRECOVERABLE: c_int = 131; /* State not recoverable */ /// String representations for the respective `errno` values. -pub const STR_ERROR: [&str; 132] = [ +pub(crate) const STR_ERROR: [&str; 132] = [ "Success", "Operation not permitted", "No such file or directory", @@ -314,7 +314,7 @@ pub const STR_ERROR: [&str; 132] = [ ]; /// Longest error message length -pub const STRERROR_MAX: usize = { +pub(crate) const STRERROR_MAX: usize = { // Number of digits of the max value of this platform's c_int let digits = { let mut len = 0;