summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ctype/isalnum.c2
-rw-r--r--src/ctype/isalpha.c2
-rw-r--r--src/ctype/isascii.c2
-rw-r--r--src/ctype/isblank.c2
-rw-r--r--src/ctype/iscntrl.c2
-rw-r--r--src/ctype/isdigit.c2
-rw-r--r--src/ctype/isgraph.c2
-rw-r--r--src/ctype/islower.c2
-rw-r--r--src/ctype/isprint.c2
-rw-r--r--src/ctype/ispunct.c2
-rw-r--r--src/ctype/isspace.c2
-rw-r--r--src/ctype/isupper.c2
-rw-r--r--src/ctype/isxdigit.c2
-rw-r--r--src/ctype/toascii.c2
-rw-r--r--src/ctype/tolower.c2
-rw-r--r--src/ctype/toupper.c2
16 files changed, 32 insertions, 0 deletions
diff --git a/src/ctype/isalnum.c b/src/ctype/isalnum.c
index 30416a14..b8ffc414 100644
--- a/src/ctype/isalnum.c
+++ b/src/ctype/isalnum.c
@@ -12,6 +12,8 @@ int isalnum(int c)
return isalpha(c) || isdigit(c);
}
+__check_1(int, 0, isalnum, int)
+
/***
tests whether ARGUMENT(c) is a character in the class
CHARACTER_CLASS(alpha) or CHARACTER_CLASS(digit) in the current locale.
diff --git a/src/ctype/isalpha.c b/src/ctype/isalpha.c
index 8382629b..98fa0853 100644
--- a/src/ctype/isalpha.c
+++ b/src/ctype/isalpha.c
@@ -12,6 +12,8 @@ int isalpha(int c)
return islower(c) || isupper(c);
}
+__check_1(int, 0, isalpha, int)
+
/***
tests whether ARGUMENT(c) is a character in the class
CHARACTER_CLASS(alpha) in the current locale.
diff --git a/src/ctype/isascii.c b/src/ctype/isascii.c
index 2543b224..8807bea2 100644
--- a/src/ctype/isascii.c
+++ b/src/ctype/isascii.c
@@ -11,6 +11,8 @@ int isascii(int c)
return 0;
}
+__check_1(int, 0, isascii, int)
+
/***
tests whether ARGUMENT(c) is a 7-bit US-ASCII character.
***/
diff --git a/src/ctype/isblank.c b/src/ctype/isblank.c
index e546e6fa..b9f81f59 100644
--- a/src/ctype/isblank.c
+++ b/src/ctype/isblank.c
@@ -16,6 +16,8 @@ int isblank(int c)
return c == EOF ? 0 : map[c] & CT_BLANK;
}
+__check_1(int, 0, isblank, int)
+
/***
tests whether a character is a of the character class CCLASS(blank) in the
current locale.
diff --git a/src/ctype/iscntrl.c b/src/ctype/iscntrl.c
index 454da1b6..a345686e 100644
--- a/src/ctype/iscntrl.c
+++ b/src/ctype/iscntrl.c
@@ -14,6 +14,8 @@ int iscntrl(int c)
return c == EOF ? 0 : map[c] & CT_CNTRL;
}
+__check_1(int, 0, iscntrl, int)
+
/***
tests whether ARGUMENT(c) is a character in the class CHARACTER_CLASS(cntrl)
in the current locale.
diff --git a/src/ctype/isdigit.c b/src/ctype/isdigit.c
index 3c41d5b2..bf13158b 100644
--- a/src/ctype/isdigit.c
+++ b/src/ctype/isdigit.c
@@ -13,6 +13,8 @@ int isdigit(int c)
return isxdigit(c) && !isalpha(c);
}
+__check_1(int, 0, isdigit, int)
+
/***
tests whether ARGUMENT(c) is a character in the class CHARACTER_CLASS(digit)
in the current locale.
diff --git a/src/ctype/isgraph.c b/src/ctype/isgraph.c
index f8196f1e..30343a45 100644
--- a/src/ctype/isgraph.c
+++ b/src/ctype/isgraph.c
@@ -14,6 +14,8 @@ int isgraph(int c)
return c == EOF ? 0 : map[c] & CT_GRAPH;
}
+__check_1(int, 0, isgraph, int)
+
/***
tests whether ARGUMENT(c) is a character in the class CHARACTER_CLASS(graph)
in the current locale.
diff --git a/src/ctype/islower.c b/src/ctype/islower.c
index 70749915..cbc698de 100644
--- a/src/ctype/islower.c
+++ b/src/ctype/islower.c
@@ -14,6 +14,8 @@ int islower(int c)
return c == EOF ? 0 : map[c] & CT_LOWER;
}
+__check_1(int, 0, islower, int)
+
/***
tests whether ARGUMENT(c) is a character in the class CHARACTER_CLASS(lower)
in the current locale.
diff --git a/src/ctype/isprint.c b/src/ctype/isprint.c
index 297bdc31..e1452365 100644
--- a/src/ctype/isprint.c
+++ b/src/ctype/isprint.c
@@ -14,6 +14,8 @@ int isprint(int c)
return c == EOF ? 0 : map[c] & CT_PRINT;
}
+__check_1(int, 0, isprint, int)
+
/***
tests whether ARGUMENT(c) is a character in the class CHARACTER_CLASS(print)
in the current locale.
diff --git a/src/ctype/ispunct.c b/src/ctype/ispunct.c
index 13df9d52..09e24372 100644
--- a/src/ctype/ispunct.c
+++ b/src/ctype/ispunct.c
@@ -14,6 +14,8 @@ int ispunct(int c)
return c == EOF ? 0 : map[c] & CT_PUNCT;
}
+__check_1(int, 0, ispunct, int)
+
/***
tests whether ARGUMENT(c) is a character in the class CHARACTER_CLASS(punct)
in the current locale.
diff --git a/src/ctype/isspace.c b/src/ctype/isspace.c
index 1832ed5d..b3c30b8e 100644
--- a/src/ctype/isspace.c
+++ b/src/ctype/isspace.c
@@ -14,6 +14,8 @@ int isspace(int c)
return c == EOF ? 0 : map[c] & CT_SPACE;
}
+__check_1(int, 0, isspace, int)
+
/***
tests whether ARGUMENT(c) is a character in the class CHARACTER_CLASS(space)
in the current locale.
diff --git a/src/ctype/isupper.c b/src/ctype/isupper.c
index 28d1791f..c8b7ac19 100644
--- a/src/ctype/isupper.c
+++ b/src/ctype/isupper.c
@@ -14,6 +14,8 @@ int isupper(int c)
return c == EOF ? 0 : map[c] & CT_UPPER;
}
+__check_1(int, 0, isupper, int)
+
/***
tests whether ARGUMENT(c) is a character in the class CHARACTER_CLASS(upper)
in the current locale.
diff --git a/src/ctype/isxdigit.c b/src/ctype/isxdigit.c
index b4ce9886..3147d2d3 100644
--- a/src/ctype/isxdigit.c
+++ b/src/ctype/isxdigit.c
@@ -14,6 +14,8 @@ int isxdigit(int c)
return c == EOF ? 0 : map[c] & CT_XDIGIT;
}
+__check_1(int, 0, isxdigit, int)
+
/***
tests whether ARGUMENT(c) is a character in the class CHARACTER_CLASS(xdigit)
in the current locale.
diff --git a/src/ctype/toascii.c b/src/ctype/toascii.c
index 10963818..c3728ae1 100644
--- a/src/ctype/toascii.c
+++ b/src/ctype/toascii.c
@@ -8,6 +8,8 @@ int toascii(int c)
return (c & 0x7f);
}
+__check_1(int, 0, toascii, int)
+
/***
converts ARGUMENT(c) to 7-bit ASCII.
***/
diff --git a/src/ctype/tolower.c b/src/ctype/tolower.c
index bea8506b..cec51f62 100644
--- a/src/ctype/tolower.c
+++ b/src/ctype/tolower.c
@@ -19,6 +19,8 @@ int tolower(int c)
return map[c];
}
+__check_1(int, 0, tolower, int)
+
/***
converts an uppercase letter to its equivalent lowercase letter in the current
locale.
diff --git a/src/ctype/toupper.c b/src/ctype/toupper.c
index 92780ed0..009fe23a 100644
--- a/src/ctype/toupper.c
+++ b/src/ctype/toupper.c
@@ -19,6 +19,8 @@ int toupper(int c)
return map[c];
}
+__check_1(int, 0, toupper, int)
+
/***
converts a lowercase letter to its equivalent uppercase letter in the current
locale.