summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/mbsinit.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/mbsinit.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/mbsinit.c')
-rw-r--r--lib/libc/locale/mbsinit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/locale/mbsinit.c b/lib/libc/locale/mbsinit.c
index 5470789..24408c7 100644
--- a/lib/libc/locale/mbsinit.c
+++ b/lib/libc/locale/mbsinit.c
@@ -28,8 +28,7 @@
__FBSDID("$FreeBSD$");
#include <wchar.h>
-
-extern int (*__mbsinit)(const mbstate_t *);
+#include "mblocal.h"
int
mbsinit(const mbstate_t *ps)
OpenPOWER on IntegriCloud