From 0cb1c46a46ea56b8ac450629f64408094a1fd98b Mon Sep 17 00:00:00 2001 From: shatty Date: Tue, 30 Dec 2003 07:37:08 +0000 Subject: [PATCH] add header protection, and two posix compliant prototypes that are provided by R5 libroot.so git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5814 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/wchar.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/headers/posix/wchar.h b/headers/posix/wchar.h index 93042b0224..3cc6fc1063 100644 --- a/headers/posix/wchar.h +++ b/headers/posix/wchar.h @@ -4,5 +4,14 @@ * * Distributed under the terms of the MIT license */ +#ifndef _WCHAR_H +#define _WCHAR_H #include + +#include + +int mbsinit(const mbstate_t *); +size_t wcrtomb(char *, wchar_t, mbstate_t *); + +#endif /* _WCHAR_H */