summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/misc/regex/regex_old.c4
-rw-r--r--libc/misc/wctype/_wctype.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c
index 1d00ad1a0..fc51610c8 100644
--- a/libc/misc/regex/regex_old.c
+++ b/libc/misc/regex/regex_old.c
@@ -4964,7 +4964,7 @@ re_search (
return re_search_2 (bufp, NULL, 0, string, size, startpos, range,
regs, size);
}
-libc_hidden_def(re_search);
+libc_hidden_def(re_search)
/* Using the compiled pattern in BUFP->buffer, first tries to match the
@@ -5006,7 +5006,7 @@ re_search_2 (
return byte_re_search_2 (bufp, string1, size1, string2, size2, startpos,
range, regs, stop);
}
-libc_hidden_def(re_search_2);
+libc_hidden_def(re_search_2)
#endif /* not INSIDE_RECURSION */
diff --git a/libc/misc/wctype/_wctype.c b/libc/misc/wctype/_wctype.c
index 0f3201d49..0b7bd5c2c 100644
--- a/libc/misc/wctype/_wctype.c
+++ b/libc/misc/wctype/_wctype.c
@@ -159,7 +159,7 @@ enum {
#ifdef __UCLIBC_DO_XLOCALE
#define ISW_FUNC_BODY(NAME) \
-libc_hidden_proto(__PASTE3(isw,NAME,_l)); \
+libc_hidden_proto(__PASTE3(isw,NAME,_l)) \
int __PASTE3(isw,NAME,_l) (wint_t wc, __locale_t l) \
{ \
return iswctype_l(wc, __PASTE2(_CTYPE_is,NAME), l); \
@@ -169,7 +169,7 @@ libc_hidden_def(__PASTE3(isw,NAME,_l))
#else /* __UCLIBC_DO_XLOCALE */
#define ISW_FUNC_BODY(NAME) \
-libc_hidden_proto(__PASTE2(isw,NAME)); \
+libc_hidden_proto(__PASTE2(isw,NAME)) \
int __PASTE2(isw,NAME) (wint_t wc) \
{ \
return iswctype(wc, __PASTE2(_CTYPE_is,NAME)); \