Deleted Added
full compact
table.c (127835) table.c (128004)
1/*-
2 * Copyright (c) 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Paul Borman at Krystal Technologies.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 */
36
37#if defined(LIBC_SCCS) && !defined(lint)
38static char sccsid[] = "@(#)table.c 8.1 (Berkeley) 6/27/93";
39#endif /* LIBC_SCCS and not lint */
40#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Paul Borman at Krystal Technologies.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 */
36
37#if defined(LIBC_SCCS) && !defined(lint)
38static char sccsid[] = "@(#)table.c 8.1 (Berkeley) 6/27/93";
39#endif /* LIBC_SCCS and not lint */
40#include <sys/cdefs.h>
41__FBSDID("$FreeBSD: head/lib/libc/locale/table.c 127835 2004-04-04 11:31:29Z tjr $");
41__FBSDID("$FreeBSD: head/lib/libc/locale/table.c 128004 2004-04-07 10:48:19Z tjr $");
42
43#include <ctype.h>
44#include <rune.h>
45#include <wchar.h>
46
47extern size_t _none_mbrtowc(wchar_t * __restrict, const char * __restrict, size_t,
48 mbstate_t * __restrict);
42
43#include <ctype.h>
44#include <rune.h>
45#include <wchar.h>
46
47extern size_t _none_mbrtowc(wchar_t * __restrict, const char * __restrict, size_t,
48 mbstate_t * __restrict);
49extern int _none_mbsinit(const mbstate_t *);
49extern size_t _none_wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict);
50extern rune_t __emulated_sgetrune(const char *, size_t, const char **);
51extern int __emulated_sputrune(rune_t, char *, size_t, char **);
52
53_RuneLocale _DefaultRuneLocale = {
54 _RUNE_MAGIC_1,
55 "NONE",
56 __emulated_sgetrune,

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

254 },
255};
256
257_RuneLocale *_CurrentRuneLocale = &_DefaultRuneLocale;
258
259int __mb_cur_max = 1;
260size_t (*__mbrtowc)(wchar_t * __restrict, const char * __restrict, size_t,
261 mbstate_t * __restrict) = _none_mbrtowc;
50extern size_t _none_wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict);
51extern rune_t __emulated_sgetrune(const char *, size_t, const char **);
52extern int __emulated_sputrune(rune_t, char *, size_t, char **);
53
54_RuneLocale _DefaultRuneLocale = {
55 _RUNE_MAGIC_1,
56 "NONE",
57 __emulated_sgetrune,

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

255 },
256};
257
258_RuneLocale *_CurrentRuneLocale = &_DefaultRuneLocale;
259
260int __mb_cur_max = 1;
261size_t (*__mbrtowc)(wchar_t * __restrict, const char * __restrict, size_t,
262 mbstate_t * __restrict) = _none_mbrtowc;
263int (*__mbsinit)(const mbstate_t *) = _none_mbsinit;
262size_t (*__wcrtomb)(char * __restrict, wchar_t, mbstate_t * __restrict) =
263 _none_wcrtomb;
264size_t (*__wcrtomb)(char * __restrict, wchar_t, mbstate_t * __restrict) =
265 _none_wcrtomb;