]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/ldns/compat/isblank.c
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / contrib / ldns / compat / isblank.c
1 /* Just a replacement, if the original isblank is not
2    present */
3
4 #if HAVE_CONFIG_H
5 #include <ldns/config.h>
6 #endif
7
8 int isblank(int c);
9
10 /* true if character is a blank (space or tab). C99. */
11 int
12 isblank(int c)
13 {
14         return (c == ' ') || (c == '\t');
15 }