Deleted Added
full compact
mskanji.c (129117) mskanji.c (129153)
1/*
2 * Copyright (c) 2002-2004 Tim J. Robbins. All rights reserved.
3 *
4 * ja_JP.SJIS locale table for BSD4.4/rune
5 * version 1.0
6 * (C) Sin'ichiro MIYATANI / Phase One, Inc
7 * May 12, 1995
8 *

--- 23 unchanged lines hidden (view full) ---

32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE.
34 */
35
36#if defined(LIBC_SCCS) && !defined(lint)
37static char sccsid[] = "@(#)mskanji.c 1.0 (Phase One) 5/5/95";
38#endif /* LIBC_SCCS and not lint */
39#include <sys/param.h>
1/*
2 * Copyright (c) 2002-2004 Tim J. Robbins. All rights reserved.
3 *
4 * ja_JP.SJIS locale table for BSD4.4/rune
5 * version 1.0
6 * (C) Sin'ichiro MIYATANI / Phase One, Inc
7 * May 12, 1995
8 *

--- 23 unchanged lines hidden (view full) ---

32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE.
34 */
35
36#if defined(LIBC_SCCS) && !defined(lint)
37static char sccsid[] = "@(#)mskanji.c 1.0 (Phase One) 5/5/95";
38#endif /* LIBC_SCCS and not lint */
39#include <sys/param.h>
40__FBSDID("$FreeBSD: head/lib/libc/locale/mskanji.c 129117 2004-05-11 14:08:22Z tjr $");
40__FBSDID("$FreeBSD: head/lib/libc/locale/mskanji.c 129153 2004-05-12 14:09:04Z tjr $");
41
42#include <errno.h>
43#include <runetype.h>
44#include <stdlib.h>
45#include <string.h>
46#include <wchar.h>
41
42#include <errno.h>
43#include <runetype.h>
44#include <stdlib.h>
45#include <string.h>
46#include <wchar.h>
47#include "mblocal.h"
47
48
48extern size_t (*__mbrtowc)(wchar_t * __restrict, const char * __restrict,
49 size_t, mbstate_t * __restrict);
50extern int (*__mbsinit)(const mbstate_t *);
51extern size_t (*__wcrtomb)(char * __restrict, wchar_t, mbstate_t * __restrict);
52
53int _MSKanji_init(_RuneLocale *);
54size_t _MSKanji_mbrtowc(wchar_t * __restrict, const char * __restrict, size_t,
55 mbstate_t * __restrict);
56int _MSKanji_mbsinit(const mbstate_t *);
57size_t _MSKanji_wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict);
58
59typedef struct {
60 int count;

--- 94 unchanged lines hidden ---
49int _MSKanji_init(_RuneLocale *);
50size_t _MSKanji_mbrtowc(wchar_t * __restrict, const char * __restrict, size_t,
51 mbstate_t * __restrict);
52int _MSKanji_mbsinit(const mbstate_t *);
53size_t _MSKanji_wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict);
54
55typedef struct {
56 int count;

--- 94 unchanged lines hidden ---