diff options
author | bors <bors@rust-lang.org> | 2019-09-16 18:15:40 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2019-09-16 18:15:40 +0000 |
commit | 49c1d138e3b4719e21ee7cbce7dd903543cda80d (patch) | |
tree | 4ce8a3e055591fd3058bfc9e2980e49045bf4099 | |
parent | 9b936e30116da305b799a74491c82ee2d2e8f678 (diff) | |
parent | e7f11345d189223828598b27f5ccf8b389dac13d (diff) | |
download | rust-libc-49c1d138e3b4719e21ee7cbce7dd903543cda80d.tar.gz |
Auto merge of #1513 - mulimoen:master, r=gnzlbg
add isblank
Fixes #1509
-rw-r--r-- | src/cloudabi/mod.rs | 1 | ||||
-rw-r--r-- | src/fuchsia/mod.rs | 1 | ||||
-rw-r--r-- | src/unix/mod.rs | 1 | ||||
-rwxr-xr-x | src/vxworks/mod.rs | 1 | ||||
-rw-r--r-- | src/windows/mod.rs | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/src/cloudabi/mod.rs b/src/cloudabi/mod.rs index 551ef0b529..b3065d7237 100644 --- a/src/cloudabi/mod.rs +++ b/src/cloudabi/mod.rs @@ -140,6 +140,7 @@ extern "C" { pub fn isspace(c: c_int) -> c_int; pub fn isupper(c: c_int) -> c_int; pub fn isxdigit(c: c_int) -> c_int; + pub fn isblank(c: c_int) -> c_int; pub fn tolower(c: c_int) -> c_int; pub fn toupper(c: c_int) -> c_int; pub fn fopen(filename: *const c_char, mode: *const c_char) -> *mut FILE; diff --git a/src/fuchsia/mod.rs b/src/fuchsia/mod.rs index 86505281d0..5d302aaf88 100644 --- a/src/fuchsia/mod.rs +++ b/src/fuchsia/mod.rs @@ -3293,6 +3293,7 @@ extern "C" { pub fn isspace(c: c_int) -> c_int; pub fn isupper(c: c_int) -> c_int; pub fn isxdigit(c: c_int) -> c_int; + pub fn isblank(c: c_int) -> c_int; pub fn tolower(c: c_int) -> c_int; pub fn toupper(c: c_int) -> c_int; pub fn fopen(filename: *const c_char, mode: *const c_char) -> *mut FILE; diff --git a/src/unix/mod.rs b/src/unix/mod.rs index 5fc0f9bf36..8d78cea726 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -385,6 +385,7 @@ extern "C" { pub fn isspace(c: c_int) -> c_int; pub fn isupper(c: c_int) -> c_int; pub fn isxdigit(c: c_int) -> c_int; + pub fn isblank(c: c_int) -> c_int; pub fn tolower(c: c_int) -> c_int; pub fn toupper(c: c_int) -> c_int; #[cfg_attr( diff --git a/src/vxworks/mod.rs b/src/vxworks/mod.rs index f96afc7904..37a8c2c56f 100755 --- a/src/vxworks/mod.rs +++ b/src/vxworks/mod.rs @@ -962,6 +962,7 @@ extern "C" { pub fn isspace(c: c_int) -> c_int; pub fn isupper(c: c_int) -> c_int; pub fn isxdigit(c: c_int) -> c_int; + pub fn isblank(c: c_int) -> c_int; pub fn tolower(c: c_int) -> c_int; pub fn toupper(c: c_int) -> c_int; pub fn fopen(filename: *const c_char, mode: *const c_char) -> *mut FILE; diff --git a/src/windows/mod.rs b/src/windows/mod.rs index 819b82c404..ba80e0ca0f 100644 --- a/src/windows/mod.rs +++ b/src/windows/mod.rs @@ -228,6 +228,7 @@ extern "C" { pub fn isspace(c: c_int) -> c_int; pub fn isupper(c: c_int) -> c_int; pub fn isxdigit(c: c_int) -> c_int; + pub fn isblank(c: c_int) -> c_int; pub fn tolower(c: c_int) -> c_int; pub fn toupper(c: c_int) -> c_int; pub fn fopen(filename: *const c_char, mode: *const c_char) -> *mut FILE; |