1 /*
2 * proto.h --
3 *
4 * FIXME: This file needs a description here.
5 */
6
7 /*
8 * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
9 * Universitaet Berlin. See the accompanying file "COPYRIGHT" for
10 * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
11 */
12
13 /*$Header: /usr/mash/src/repository/mash/mash-1/audio/proto.h,v 1.3 2001/03/20 22:32:36 lim Exp $*/
14
15 #ifndef PROTO_H
16 #define PROTO_H
17
18 #if __cplusplus
19 # define NeedFunctionPrototypes 1
20 #endif
21
22 #if __STDC__
23 # define NeedFunctionPrototypes 1
24 #endif
25
26 #ifdef _NO_PROTO
27 # undef NeedFunctionPrototypes
28 #endif
29
30 #undef P /* gnu stdio.h actually defines this... */
31 #undef P0
32 #undef P1
33 #undef P2
34 #undef P3
35 #undef P4
36 #undef P5
37 #undef P6
38 #undef P7
39 #undef P8
40
41 #if NeedFunctionPrototypes
42
43 # define P( protos ) protos
44
45 # define P0() (void)
46 # define P1(x, a) (a)
47 # define P2(x, a, b) (a, b)
48 # define P3(x, a, b, c) (a, b, c)
49 # define P4(x, a, b, c, d) (a, b, c, d)
50 # define P5(x, a, b, c, d, e) (a, b, c, d, e)
51 # define P6(x, a, b, c, d, e, f) (a, b, c, d, e, f)
52 # define P7(x, a, b, c, d, e, f, g) (a, b, c, d, e, f, g)
53 # define P8(x, a, b, c, d, e, f, g, h) (a, b, c, d, e, f, g, h)
54
55 #else /* !NeedFunctionPrototypes */
56
57 # define P( protos ) ( /* protos */ )
58
59 # define P0() ()
60 # define P1(x, a) x a;
61 # define P2(x, a, b) x a; b;
62 # define P3(x, a, b, c) x a; b; c;
63 # define P4(x, a, b, c, d) x a; b; c; d;
64 # define P5(x, a, b, c, d, e) x a; b; c; d; e;
65 # define P6(x, a, b, c, d, e, f) x a; b; c; d; e; f;
66 # define P7(x, a, b, c, d, e, f, g) x a; b; c; d; e; f; g;
67 # define P8(x, a, b, c, d, e, f, g, h) x a; b; c; d; e; f; g; h;
68
69 #endif /* !NeedFunctionPrototypes */
70
71 #endif /* PROTO_H */
72
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.