** USEFUL.H -- Some useful stuff.
** @(#)useful.h 4.1 7/25/83
/* 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";
/* define the types of some common functions */
extern char *strcpy(), *strncpy();
extern char *strcat(), *strncat();
extern char *index(), *rindex();
typedef unsigned short u_short
;