summaryrefslogtreecommitdiff
path: root/libc/misc/regex
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/regex')
-rw-r--r--libc/misc/regex/regcomp.c12
-rw-r--r--libc/misc/regex/regex_old.c24
-rw-r--r--libc/misc/regex/regexec.c12
3 files changed, 24 insertions, 24 deletions
diff --git a/libc/misc/regex/regcomp.c b/libc/misc/regex/regcomp.c
index 848097c26..9da0562ff 100644
--- a/libc/misc/regex/regcomp.c
+++ b/libc/misc/regex/regcomp.c
@@ -233,7 +233,7 @@ re_compile_pattern (pattern, length, bufp)
return gettext (__re_error_msgid + __re_error_msgid_idx[(int) ret]);
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__re_compile_pattern, re_compile_pattern)
+strong_alias(__re_compile_pattern, re_compile_pattern)
#endif
/* Set by `re_set_syntax' to the current regexp syntax to recognize. Can
@@ -261,7 +261,7 @@ re_set_syntax (syntax)
return ret;
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__re_set_syntax, re_set_syntax)
+strong_alias(__re_set_syntax, re_set_syntax)
#endif
int
@@ -283,7 +283,7 @@ re_compile_fastmap (bufp)
return 0;
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__re_compile_fastmap, re_compile_fastmap)
+strong_alias(__re_compile_fastmap, re_compile_fastmap)
#endif
static inline void
@@ -499,7 +499,7 @@ regcomp (preg, pattern, cflags)
return (int) ret;
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__regcomp, regcomp)
+strong_alias(__regcomp, regcomp)
#endif
/* Returns a message corresponding to an error code, ERRCODE, returned
@@ -546,7 +546,7 @@ regerror (errcode, preg, errbuf, errbuf_size)
return msg_size;
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__regerror, regerror)
+strong_alias(__regerror, regerror)
#endif
@@ -630,7 +630,7 @@ regfree (preg)
preg->translate = NULL;
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__regfree, regfree)
+strong_alias(__regfree, regfree)
#endif
/* Entry points compatible with 4.2 BSD regex library. We don't define
diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c
index b64014e98..85a1b8e6f 100644
--- a/libc/misc/regex/regex_old.c
+++ b/libc/misc/regex/regex_old.c
@@ -1390,7 +1390,7 @@ re_set_syntax (syntax)
return ret;
}
# if defined _LIBC || defined __UCLIBC__
-weak_alias (__re_set_syntax, re_set_syntax)
+strong_alias(__re_set_syntax, re_set_syntax)
# endif
/* This table gives an error message for each of the error codes listed
@@ -5010,7 +5010,7 @@ re_compile_fastmap (bufp)
return byte_re_compile_fastmap(bufp);
} /* re_compile_fastmap */
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__re_compile_fastmap, re_compile_fastmap)
+strong_alias(__re_compile_fastmap, re_compile_fastmap)
#endif
@@ -5049,7 +5049,7 @@ re_set_registers (bufp, regs, num_regs, starts, ends)
}
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__re_set_registers, re_set_registers)
+strong_alias(__re_set_registers, re_set_registers)
#endif
/* Searching routines. */
@@ -5068,7 +5068,7 @@ re_search (bufp, string, size, startpos, range, regs)
regs, size);
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__re_search, re_search)
+strong_alias(__re_search, re_search)
#endif
@@ -5113,7 +5113,7 @@ re_search_2 (bufp, string1, size1, string2, size2, startpos, range, regs, stop)
range, regs, stop);
} /* re_search_2 */
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__re_search_2, re_search_2)
+strong_alias(__re_search_2, re_search_2)
#endif
#endif /* not INSIDE_RECURSION */
@@ -5572,7 +5572,7 @@ re_match (bufp, string, size, pos, regs)
return result;
}
# if defined _LIBC || defined __UCLIBC__
-weak_alias (__re_match, re_match)
+strong_alias(__re_match, re_match)
# endif
#endif /* not emacs */
@@ -5633,7 +5633,7 @@ re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
return result;
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__re_match_2, re_match_2)
+strong_alias(__re_match_2, re_match_2)
#endif
#endif /* not INSIDE_RECURSION */
@@ -7972,7 +7972,7 @@ re_compile_pattern (pattern, length, bufp)
return gettext (re_error_msgid + re_error_msgid_idx[(int) ret]);
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__re_compile_pattern, re_compile_pattern)
+strong_alias(__re_compile_pattern, re_compile_pattern)
#endif
/* Entry points compatible with 4.2 BSD regex library. We don't define
@@ -8168,7 +8168,7 @@ regcomp (preg, pattern, cflags)
return (int) ret;
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__regcomp, regcomp)
+strong_alias(__regcomp, regcomp)
#endif
@@ -8246,7 +8246,7 @@ regexec (preg, string, nmatch, pmatch, eflags)
return ret >= 0 ? (int) REG_NOERROR : (int) REG_NOMATCH;
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__regexec, regexec)
+strong_alias(__regexec, regexec)
#endif
@@ -8294,7 +8294,7 @@ regerror (errcode, preg, errbuf, errbuf_size)
return msg_size;
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__regerror, regerror)
+strong_alias(__regerror, regerror)
#endif
@@ -8321,7 +8321,7 @@ regfree (preg)
preg->translate = NULL;
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__regfree, regfree)
+strong_alias(__regfree, regfree)
#endif
#endif /* not emacs */
diff --git a/libc/misc/regex/regexec.c b/libc/misc/regex/regexec.c
index e8e2946b4..c56fb9d4a 100644
--- a/libc/misc/regex/regexec.c
+++ b/libc/misc/regex/regexec.c
@@ -275,7 +275,7 @@ __compat_regexec (const regex_t *__restrict preg,
compat_symbol (libc, __compat_regexec, regexec, GLIBC_2_0);
# endif
#elif __UCLIBC__
-weak_alias(__regexec,regexec)
+strong_alias(__regexec,regexec)
#endif
/* Entry points for GNU code. */
@@ -317,7 +317,7 @@ re_match (bufp, string, length, start, regs)
return re_search_stub (bufp, string, length, start, 0, length, regs, 1);
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__re_match, re_match)
+strong_alias(__re_match, re_match)
#endif
int
@@ -330,7 +330,7 @@ re_search (bufp, string, length, start, range, regs)
return re_search_stub (bufp, string, length, start, range, length, regs, 0);
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__re_search, re_search)
+strong_alias(__re_search, re_search)
#endif
int
@@ -344,7 +344,7 @@ re_match_2 (bufp, string1, length1, string2, length2, start, regs, stop)
start, 0, regs, stop, 1);
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__re_match_2, re_match_2)
+strong_alias(__re_match_2, re_match_2)
#endif
int
@@ -358,7 +358,7 @@ re_search_2 (bufp, string1, length1, string2, length2, start, range, regs, stop)
start, range, regs, stop, 0);
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__re_search_2, re_search_2)
+strong_alias(__re_search_2, re_search_2)
#endif
static int
@@ -593,7 +593,7 @@ re_set_registers (bufp, regs, num_regs, starts, ends)
}
}
#if defined _LIBC || defined __UCLIBC__
-weak_alias (__re_set_registers, re_set_registers)
+strong_alias(__re_set_registers, re_set_registers)
#endif
/* Entry points compatible with 4.2 BSD regex library. We don't define