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.1 (Berkeley) 08/06/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 STATIC 21 #define STATIC static /* override if cc no like "static int f();" */ 22 #endif 23