summaryrefslogtreecommitdiff
path: root/compat/isblank.c
blob: 3b38154c5fdd073f58e6b8b4ce979ea0f01c42bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Just a replacement, if the original isblank is not
   present */

#if HAVE_CONFIG_H
#include <ldns/config.h>
#endif

int isblank(int c);

/* true if character is a blank (space or tab). C99. */
int
isblank(int c)
{
	return (c == ' ') || (c == '\t');
}