summaryrefslogtreecommitdiff
path: root/libc/misc/wchar
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:35:09 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:35:09 +0000
commit59bf5cbe99873625ce3d5a9b984e9b98e659eefa (patch)
treeb04d282e7e374dfdae260a38e46ad646f79d9f1c /libc/misc/wchar
parent979dd261f65f59f021d4f4c0bf93c1149147a65f (diff)
Hide C and wchar related stuff
Diffstat (limited to 'libc/misc/wchar')
-rw-r--r--libc/misc/wchar/wchar.c4
-rw-r--r--libc/misc/wchar/wstdio.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libc/misc/wchar/wchar.c b/libc/misc/wchar/wchar.c
index 1a16fc9d6..36937cd5d 100644
--- a/libc/misc/wchar/wchar.c
+++ b/libc/misc/wchar/wchar.c
@@ -1586,7 +1586,7 @@ static void error_msg(const char *fmt, ...)
va_end(arg);
}
- exit(EXIT_FAILURE);
+ __exit(EXIT_FAILURE);
}
int main(int argc, char **argv)
@@ -1695,7 +1695,7 @@ int main(int argc, char **argv)
}
}
if (ni) { /* still bytes in buffer! */
- memmove(ibuf, pi, ni);
+ __memmove(ibuf, pi, ni);
}
}
diff --git a/libc/misc/wchar/wstdio.c b/libc/misc/wchar/wstdio.c
index b4ca4973f..55e7fef6b 100644
--- a/libc/misc/wchar/wstdio.c
+++ b/libc/misc/wchar/wstdio.c
@@ -289,7 +289,7 @@ UNLOCKED(wchar_t *,fgetws,(wchar_t *__restrict ws, int n,
wint_t wi;
while ((n > 1)
- && ((wi = fgetwc_unlocked(stream)) != WEOF)
+ && ((wi = __fgetwc_unlocked(stream)) != WEOF)
&& ((*p++ = wi) != '\n')
) {
--n;