diff options
author | Colin Watson <cjwatson@debian.org> | 2011-01-24 11:46:57 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2011-01-24 11:46:57 +0000 |
commit | 0970072c89b079b022538e3c366fbfa2c53fc821 (patch) | |
tree | b7024712d74234bb5a8b036ccbc9109e2e211296 /openbsd-compat/bsd-misc.c | |
parent | 4e8aa4da57000c7bba8e5c49163bc0c0ca383f78 (diff) | |
parent | 478ff799463ca926a8dfbabf058f4e84aaffc65a (diff) |
merge 5.7p1
Diffstat (limited to 'openbsd-compat/bsd-misc.c')
-rw-r--r-- | openbsd-compat/bsd-misc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c index 55f100ac0..3ef373f56 100644 --- a/openbsd-compat/bsd-misc.c +++ b/openbsd-compat/bsd-misc.c | |||
@@ -240,3 +240,10 @@ strdup(const char *str) | |||
240 | return NULL; | 240 | return NULL; |
241 | } | 241 | } |
242 | #endif | 242 | #endif |
243 | |||
244 | #ifndef HAVE_ISBLANK | ||
245 | int isblank(int c) | ||
246 | { | ||
247 | return (c == ' ' || c == '\t'); | ||
248 | } | ||
249 | #endif | ||