Change noinline to dontinline (#312)

We defined `noinline` as an abbreviation for the longer version
`__attribute__((__noinline__))` which caused name clashes since
third party codebases often write it as `__attribute__((noinline))`.
This commit is contained in:
Gautham 2021-11-13 04:42:18 +05:30 committed by GitHub
parent ca611efc43
commit 6f658f058b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
59 changed files with 122 additions and 122 deletions

View file

@ -25,7 +25,7 @@ size_t strclen(const char *s) {
return strnclen(s, -1);
}
noinline size_t strnclen(const char *s, size_t n) {
dontinline size_t strnclen(const char *s, size_t n) {
size_t r = 0;
if (n) {
while (n && *s && (*s & 0300) == 0200) ++s, --n;