summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/libcruft/__parse_nws.c
blob: e26fc443d3d2b4145a8d37ba8d4e039b5ec4fffc (plain)
1
2
3
4
5
6
7
8
9
10
#include <sys/types.h>
#include "parselib.h"

static int __isnonblank(int ch) {
  return (ch!=' ' && ch!='\t' && ch!='#');
}

size_t __parse_nws(struct state* s) {
  return __parse(s,__isnonblank);
}