summaryrefslogtreecommitdiffstats
path: root/contrib/gperf/src/prototype.h
blob: a6077b65c206c8386e14013013a613d6251e8c27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _prototype_h
#define _prototype_h
#ifdef __STDC__
#define P(X) X
#else
#define P(X) ()
#endif

typedef char bool;
#define FALSE 0
#define TRUE 1

#define ODD(X) ((X) & 1)
#define EVEN(X) (!((X) & 1))
#endif /* _prototype_h */
OpenPOWER on IntegriCloud