aboutsummaryrefslogtreecommitdiffstats
path: root/b.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2011-05-03 11:37:03 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2011-05-03 11:37:03 +0000
commitbd726c262eacb8675c29121f040452106671e929 (patch)
tree3d195e2a98d7d1d827a1d40f49e6529b3bfc6825 /b.c
parentd9859a0e4b8744c01f13cf391ee5cfbf57c5e818 (diff)
downloadsrc-bd726c262eacb8675c29121f040452106671e929.tar.gz
src-bd726c262eacb8675c29121f040452106671e929.zip
Vendor import of bwk's 1-May-2011 release.vendor/one-true-awk/20110501
Notes
Notes: svn path=/vendor/one-true-awk/dist/; revision=221379 svn path=/vendor/one-true-awk/20110501/; revision=221380; tag=vendor/one-true-awk/20110501
Diffstat (limited to 'b.c')
-rw-r--r--b.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/b.c b/b.c
index 4c6d61be9082..a4a46acbf91a 100644
--- a/b.c
+++ b/b.c
@@ -734,7 +734,7 @@ Node *unary(Node *np)
/* #define HAS_ISBLANK */
#ifndef HAS_ISBLANK
-int (isblank)(int c)
+int (xisblank)(int c)
{
return c==' ' || c=='\t';
}
@@ -748,7 +748,7 @@ struct charclass {
} charclasses[] = {
{ "alnum", 5, isalnum },
{ "alpha", 5, isalpha },
- { "blank", 5, isblank },
+ { "blank", 5, isspace }, /* was isblank */
{ "cntrl", 5, iscntrl },
{ "digit", 5, isdigit },
{ "graph", 5, isgraph },