Deleted Added
full compact
runetype.h (93189) runetype.h (99640)
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

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

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)runetype.h 8.1 (Berkeley) 6/2/93
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

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

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)runetype.h 8.1 (Berkeley) 6/2/93
37 * $FreeBSD: head/include/runetype.h 93189 2002-03-26 01:35:05Z bde $
37 * $FreeBSD: head/include/runetype.h 99640 2002-07-09 05:13:30Z obrien $
38 */
39
40#ifndef _RUNETYPE_H_
41#define _RUNETYPE_H_
42
43#include <sys/cdefs.h>
44#include <machine/ansi.h>
45
46#ifdef _BSD_RUNE_T_
47typedef _BSD_RUNE_T_ rune_t;
48#undef _BSD_RUNE_T_
49#endif
50
51#ifdef _BSD_SIZE_T_
52typedef _BSD_SIZE_T_ size_t;
53#undef _BSD_SIZE_T_
54#endif
55
38 */
39
40#ifndef _RUNETYPE_H_
41#define _RUNETYPE_H_
42
43#include <sys/cdefs.h>
44#include <machine/ansi.h>
45
46#ifdef _BSD_RUNE_T_
47typedef _BSD_RUNE_T_ rune_t;
48#undef _BSD_RUNE_T_
49#endif
50
51#ifdef _BSD_SIZE_T_
52typedef _BSD_SIZE_T_ size_t;
53#undef _BSD_SIZE_T_
54#endif
55
56#ifndef __cplusplus
56#ifdef _BSD_WCHAR_T_
57typedef _BSD_WCHAR_T_ wchar_t;
58#undef _BSD_WCHAR_T_
59#endif
57#ifdef _BSD_WCHAR_T_
58typedef _BSD_WCHAR_T_ wchar_t;
59#undef _BSD_WCHAR_T_
60#endif
61#endif
60
61#define _CACHED_RUNES (1 <<8 ) /* Must be a power of 2 */
62#define _CRMASK (~(_CACHED_RUNES - 1))
63
64/*
65 * The lower 8 bits of runetype[] contain the digit value of the rune.
66 */
67typedef struct {

--- 42 unchanged lines hidden ---
62
63#define _CACHED_RUNES (1 <<8 ) /* Must be a power of 2 */
64#define _CRMASK (~(_CACHED_RUNES - 1))
65
66/*
67 * The lower 8 bits of runetype[] contain the digit value of the rune.
68 */
69typedef struct {

--- 42 unchanged lines hidden ---