xref: /original-bsd/lib/libc/regex/utils.h (revision 3839ed90)
1 /*-
2  * Copyright (c) 1992 Henry Spencer.
3  * Copyright (c) 1992 The Regents of the University of California.
4  * All rights reserved.
5  *
6  * This code is derived from software contributed to Berkeley by
7  * Henry Spencer of the University of Toronto.
8  *
9  * %sccs.include.redist.c%
10  *
11  *	@(#)utils.h	5.2 (Berkeley) 09/30/92
12  */
13 
14 /* utility definitions */
15 #define	DUPMAX		_POSIX2_RE_DUP_MAX	/* xxx is this right? */
16 #define	INFINITY	(DUPMAX+1)
17 #define	NUC		(UCHAR_MAX+1)
18 typedef unsigned char uchar;
19 
20 #ifndef REDEBUG
21 #ifndef NDEBUG
22 #define	NDEBUG	/* no assertions please */
23 #endif
24 #endif
25 #include <assert.h>
26