* Copyright (c) 1988 Regents of the University of California.
* %sccs.include.redist.c%
* @(#)useful.h 4.7 (Berkeley) %G%
/* support for bool type */
# define bitset(bit, word) (((word) & (bit)) != 0)
/* some simple functions */
# define max(a, b) ((a) > (b) ? (a) : (b))
# define min(a, b) ((a) < (b) ? (a) : (b))
# define ASSERT(expr, msg, parm)\
fprintf(stderr, "assertion botch: %s:%d: ", __FILE__, __LINE__);\
fprintf(stderr, msg, parm);\
# define ASSERT(expr, msg, parm)
# define SCCSID(arg) static char SccsId[] = "arg";