File: proto.h

package info (click to toggle)
fsp 2.71-8hamm10
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 988 kB
  • ctags: 1,287
  • sloc: ansic: 7,715; makefile: 363; sh: 118
file content (25 lines) | stat: -rw-r--r-- 904 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef _FSP_PROTO_H_
#define _FSP_PROTO_H_


#ifdef UNDERSTANDS_PROTOTYPES
#define PROTO0(a) a
#define PROTO1(a, b) (a b)
#define PROTO2(a, b, c, d) (a b, c d)
#define PROTO3(a, b, c, d, e, f) (a b, c d, e f)
#define PROTO4(a, b, c, d, e, f, g, h) (a b, c d, e f, g h)
#define PROTO5(a, b, c, d, e, f, g, h, i, j) (a b, c d, e f, g h, i j)
#define PROTO6(a, b, c, d, e, f, g, h, i, j, k, l) (a b, c d, e f, g h, i j, k l)
#else
#define PROTO0(a) ()
#define PROTO1(a, b) (b) a b;
#define PROTO2(a, b, c, d) (b, d) a b; c d;
#define PROTO3(a, b, c, d, e, f) (b, d, f) a b; c d; e f;
#define PROTO4(a, b, c, d, e, f, g, h) (b, d, f, h) a b; c d; e f; g h;
#define PROTO5(a, b, c, d, e, f, g, h, i, j) (b, d, f, h, j) \
        a b; c d; e f; g h; i j;
#define PROTO6(a, b, c, d, e, f, g, h, i, j, k, l) (b, d, f, h, j, l) \
        a b; c d; e f; g h; i j; k l;
#endif /* UNDERSTANDS_PROTOTYPES */

#endif