1*55853Sbostic /*- 2*55853Sbostic * Copyright (c) 1992 Henry Spencer. 3*55853Sbostic * Copyright (c) 1992 The Regents of the University of California. 4*55853Sbostic * All rights reserved. 5*55853Sbostic * 6*55853Sbostic * This code is derived from software contributed to Berkeley by 7*55853Sbostic * Henry Spencer of the University of Toronto. 8*55853Sbostic * 9*55853Sbostic * %sccs.include.redist.c% 10*55853Sbostic * 11*55853Sbostic * @(#)utils.h 5.1 (Berkeley) 08/06/92 12*55853Sbostic */ 13*55853Sbostic 14*55853Sbostic /* utility definitions */ 15*55853Sbostic #define DUPMAX _POSIX2_RE_DUP_MAX /* xxx is this right? */ 16*55853Sbostic #define INFINITY (DUPMAX+1) 17*55853Sbostic #define NUC (UCHAR_MAX+1) 18*55853Sbostic typedef unsigned char uchar; 19*55853Sbostic 20*55853Sbostic #ifndef STATIC 21*55853Sbostic #define STATIC static /* override if cc no like "static int f();" */ 22*55853Sbostic #endif 23