summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/wcrtomb.c
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-05-12 14:09:04 +0000
committertjr <tjr@FreeBSD.org>2004-05-12 14:09:04 +0000
commite3f042f4aff04f73fd65f7788919c29bd71cfd1e (patch)
tree77a339e636541d66b22a5461fcb390f9d11a7785 /lib/libc/locale/wcrtomb.c
parent03790daf0ef18da07a62c9461c2f4e9690fdb479 (diff)
downloadFreeBSD-src-e3f042f4aff04f73fd65f7788919c29bd71cfd1e.zip
FreeBSD-src-e3f042f4aff04f73fd65f7788919c29bd71cfd1e.tar.gz
Move prototypes of various encoding-related functions into a new header
file to avoid extern'ing them all over the place.
Diffstat (limited to 'lib/libc/locale/wcrtomb.c')
-rw-r--r--lib/libc/locale/wcrtomb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/locale/wcrtomb.c b/lib/libc/locale/wcrtomb.c
index 5f79949..ef75b78 100644
--- a/lib/libc/locale/wcrtomb.c
+++ b/lib/libc/locale/wcrtomb.c
@@ -28,8 +28,7 @@
__FBSDID("$FreeBSD$");
#include <wchar.h>
-
-extern size_t (*__wcrtomb)(char * __restrict, wchar_t, mbstate_t * __restrict);
+#include "mblocal.h"
size_t
wcrtomb(char * __restrict s, wchar_t wc, mbstate_t * __restrict ps)
OpenPOWER on IntegriCloud