diff options
author | Jakob Kaivo <jkk@ung.org> | 2024-01-30 22:47:21 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2024-01-30 22:47:21 -0500 |
commit | 841ec551221a44355beba6593cec462347df0d12 (patch) | |
tree | 3a1a62a26db233ea2384d9f1d368a6b056c4322d | |
parent | 79e1176f8b6ff20d47889e2dacd078ca92449fd5 (diff) |
update to 1:1 checked functions
-rw-r--r-- | src/wctype/iswalnum.c | 2 | ||||
-rw-r--r-- | src/wctype/iswalpha.c | 2 | ||||
-rw-r--r-- | src/wctype/iswblank.c | 2 | ||||
-rw-r--r-- | src/wctype/iswcntrl.c | 2 | ||||
-rw-r--r-- | src/wctype/iswctype.c | 2 | ||||
-rw-r--r-- | src/wctype/iswdigit.c | 2 | ||||
-rw-r--r-- | src/wctype/iswgraph.c | 2 | ||||
-rw-r--r-- | src/wctype/iswlower.c | 2 | ||||
-rw-r--r-- | src/wctype/iswprint.c | 2 | ||||
-rw-r--r-- | src/wctype/iswpunct.c | 2 | ||||
-rw-r--r-- | src/wctype/iswspace.c | 2 | ||||
-rw-r--r-- | src/wctype/iswupper.c | 2 | ||||
-rw-r--r-- | src/wctype/iswxdigit.c | 2 | ||||
-rw-r--r-- | src/wctype/towctrans.c | 2 | ||||
-rw-r--r-- | src/wctype/towlower.c | 2 | ||||
-rw-r--r-- | src/wctype/towupper.c | 2 | ||||
-rw-r--r-- | src/wctype/wctrans.c | 2 | ||||
-rw-r--r-- | src/wctype/wctype.c | 2 |
18 files changed, 36 insertions, 0 deletions
diff --git a/src/wctype/iswalnum.c b/src/wctype/iswalnum.c index a6511816..82a0c345 100644 --- a/src/wctype/iswalnum.c +++ b/src/wctype/iswalnum.c @@ -12,6 +12,8 @@ int iswalnum(wint_t wc) return iswalpha(wc) || iswdigit(wc); } +__check_1(int, 0, iswalnum, wint_t) + /*** The fn(iswalnum) function tests whether arg(wc) is a wide character in the class cclass(alpha) or cclass(digit) in the current locale. diff --git a/src/wctype/iswalpha.c b/src/wctype/iswalpha.c index 5785685c..5888647b 100644 --- a/src/wctype/iswalpha.c +++ b/src/wctype/iswalpha.c @@ -12,6 +12,8 @@ int iswalpha(wint_t wc) return iswctype(wc, alpha); } +__check_1(int, 0, iswalpha, wint_t) + /*** The fn(iswalpha) function tests whether arg(wc) is a wide character in the class cclass(alpha) in the current locale. diff --git a/src/wctype/iswblank.c b/src/wctype/iswblank.c index ba90e6d4..153b1d2b 100644 --- a/src/wctype/iswblank.c +++ b/src/wctype/iswblank.c @@ -11,6 +11,8 @@ int iswblank(wint_t wc) return iswctype(wc, blank); } +__check_1(int, 0, iswblank, wint_t) + /*** The fn(iswblank) functions tests whether a wide character is a of the character class cclass(blank) in the current locale. diff --git a/src/wctype/iswcntrl.c b/src/wctype/iswcntrl.c index df56187d..fe8b86ea 100644 --- a/src/wctype/iswcntrl.c +++ b/src/wctype/iswcntrl.c @@ -12,6 +12,8 @@ int iswcntrl(wint_t wc) return iswctype(wc, cntrl); } +__check_1(int, 0, iswcntrl, wint_t) + /*** The fn(iswcntrl) function tests whether arg(wc) is a wide character in the class cclass(cntrl) in the current locale. diff --git a/src/wctype/iswctype.c b/src/wctype/iswctype.c index a5c64956..4113e790 100644 --- a/src/wctype/iswctype.c +++ b/src/wctype/iswctype.c @@ -15,6 +15,8 @@ int iswctype(wint_t wc, wctype_t desc) return 0; } +__check_2(int, 0, iswctype, wint_t, wctype_t) + /*** The fn(iswctype) function tests whether arg(wc) is a wide character in the character class represented by arg(desc), which must have been previously diff --git a/src/wctype/iswdigit.c b/src/wctype/iswdigit.c index 45aa0a22..12e3a793 100644 --- a/src/wctype/iswdigit.c +++ b/src/wctype/iswdigit.c @@ -12,6 +12,8 @@ int iswdigit(wint_t wc) return iswctype(wc, digit); } +__check_1(int, 0, iswdigit, wint_t) + /*** The fn(iswdigit) function tests whether arg(wc) is a wide character in the class cclass(digit) in the current locale. diff --git a/src/wctype/iswgraph.c b/src/wctype/iswgraph.c index f4eaf94d..0a3f1727 100644 --- a/src/wctype/iswgraph.c +++ b/src/wctype/iswgraph.c @@ -12,6 +12,8 @@ int iswgraph(wint_t wc) return iswctype(wc, graph); } +__check_1(int, 0, iswgraph, wint_t) + /*** The fn(iswgraph) function tests whether arg(wc) is a wide character in the class cclass(graph) in the current locale. diff --git a/src/wctype/iswlower.c b/src/wctype/iswlower.c index 44c044c8..f181779e 100644 --- a/src/wctype/iswlower.c +++ b/src/wctype/iswlower.c @@ -12,6 +12,8 @@ int iswlower(wint_t wc) return iswctype(wc, lower); } +__check_1(int, 0, iswlower, wint_t) + /*** The fn(iswlower) function tests whether arg(wc) is a wide character in the class cclass(lower) in the current locale. diff --git a/src/wctype/iswprint.c b/src/wctype/iswprint.c index 59607a0f..e026ae61 100644 --- a/src/wctype/iswprint.c +++ b/src/wctype/iswprint.c @@ -12,6 +12,8 @@ int iswprint(wint_t wc) return iswctype(wc, print); } +__check_1(int, 0, iswprint, wint_t) + /*** The fn(iswprint) function tests whether arg(wc) is a character in the class cclass(print) in the current locale. diff --git a/src/wctype/iswpunct.c b/src/wctype/iswpunct.c index ce5e9982..3aa074c7 100644 --- a/src/wctype/iswpunct.c +++ b/src/wctype/iswpunct.c @@ -12,6 +12,8 @@ int iswpunct(wint_t wc) return iswctype(wc, punct); } +__check_1(int, 0, iswpunct, wint_t) + /*** The fn(iswpunct) function tests whether arg(wc) is a character in the class cclass(punct) in the current locale. diff --git a/src/wctype/iswspace.c b/src/wctype/iswspace.c index c23cbc33..198ed6ec 100644 --- a/src/wctype/iswspace.c +++ b/src/wctype/iswspace.c @@ -12,6 +12,8 @@ int iswspace(wint_t wc) return iswctype(wc, space); } +__check_1(int, 0, iswspace, wint_t) + /*** The fn(iswspace) function tests whether arg(wc) is a wide character in the class cclass(space) in the current locale. diff --git a/src/wctype/iswupper.c b/src/wctype/iswupper.c index 7438e121..1abe4116 100644 --- a/src/wctype/iswupper.c +++ b/src/wctype/iswupper.c @@ -12,6 +12,8 @@ int iswupper(wint_t wc) return iswctype(wc, upper); } +__check_1(int, 0, iswupper, wint_t) + /*** The fn(iswupper) function tests whether arg(wc) is a wide character in the class cclass(upper) in the current locale. diff --git a/src/wctype/iswxdigit.c b/src/wctype/iswxdigit.c index 037a316f..9f3aabd6 100644 --- a/src/wctype/iswxdigit.c +++ b/src/wctype/iswxdigit.c @@ -12,6 +12,8 @@ int iswxdigit(wint_t wc) return iswctype(wc, xdigit); } +__check_1(int, 0, iswxdigit, wint_t) + /*** The fn(iswxdigit) function tests whether arg(wc) is a wide character in the class cclass(xdigit) in the current locale. diff --git a/src/wctype/towctrans.c b/src/wctype/towctrans.c index 903889df..fdb25589 100644 --- a/src/wctype/towctrans.c +++ b/src/wctype/towctrans.c @@ -14,6 +14,8 @@ wint_t towctrans(wint_t wc, wctrans_t desc) return 0; } +__check_2(wint_t, 0, towctrans, wint_t, wctrans_t) + /*** The fn(towctrans) function translates the wide character arg(wc) according to mapping described by arg(desc), which must come from a previous call to diff --git a/src/wctype/towlower.c b/src/wctype/towlower.c index 30258662..b162afa7 100644 --- a/src/wctype/towlower.c +++ b/src/wctype/towlower.c @@ -17,6 +17,8 @@ wint_t towlower(wint_t wc) return towctrans(wc, trans); } +__check_1(wint_t, 0, towlower, wint_t) + /*** The fn(towlower) function converts a wide uppercase letter to its equivalent lowercase letter in the current locale. diff --git a/src/wctype/towupper.c b/src/wctype/towupper.c index 41e097a7..2426d689 100644 --- a/src/wctype/towupper.c +++ b/src/wctype/towupper.c @@ -16,6 +16,8 @@ wint_t towupper(wint_t wc) return towctrans(wc, trans); } +__check_1(wint_t, 0, towupper, wint_t) + /*** The fn(towupper) function converts a wide lowercase letter to its equivalent uppercase letter in the current locale. diff --git a/src/wctype/wctrans.c b/src/wctype/wctrans.c index 5e73a454..d8e65d96 100644 --- a/src/wctype/wctrans.c +++ b/src/wctype/wctrans.c @@ -18,6 +18,8 @@ wctrans_t wctrans(const char * property) return 0; } +__check_1(wctrans_t, 0, wctrans, const char *) + /*** The fn(wctrans) function looks up the wide character translation mapping specified by the string arg(property), to be used as the arg(desc) parameter diff --git a/src/wctype/wctype.c b/src/wctype/wctype.c index c2390b35..89c8ccc2 100644 --- a/src/wctype/wctype.c +++ b/src/wctype/wctype.c @@ -38,6 +38,8 @@ wctype_t wctype(const char * property) return 0; } +__check_1(wctype_t, 0, wctype, const char *) + /*** The fn(wctype) function looks up the character class specified by the string arg(property). If arg(property) is a recognized character class, a value is |