lint it
[unix-history] / usr / src / usr.sbin / sendmail / src / useful.h
/*
** USEFUL.H -- Some useful stuff.
**
** @(#)useful.h 3.2 %G%
*/
# define bool char
# define TRUE 1
# define FALSE 0
# ifndef NULL
# define NULL 0
# endif NULL
# define setbit(bit, word) (word |= bit)
# define clrbit(bit, word) (word &= ~bit)
# define bitset(bit, word) ((word) & (bit))
/* define the types of some common functions */
extern char *strcpy();
extern char *strcat();
extern char *malloc();
extern char *index(), *rindex();
extern int errno;
extern char *sprintf();
extern long time();
extern char *ctime();
# ifndef V6
extern char *getenv();
# endif