uiautomationcore: Put general purpose helper functions into separate source file.
[wine.git] / libs / gsm / inc / proto.h
blob2851c086a2dbe9eefbea8549602e57ebc7f66b86
1 /*
2 * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
3 * Universitaet Berlin. See the accompanying file "COPYRIGHT" for
4 * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
5 */
7 /*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/proto.h,v 1.1 1992/10/28 00:11:08 jutta Exp $*/
9 #ifndef PROTO_H
10 #define PROTO_H
12 #if __cplusplus
13 # define NeedFunctionPrototypes 1
14 #endif
16 #if __STDC__
17 # define NeedFunctionPrototypes 1
18 #endif
20 #ifdef _NO_PROTO
21 # undef NeedFunctionPrototypes
22 #endif
24 #undef P /* gnu stdio.h actually defines this... */
25 #undef P0
26 #undef P1
27 #undef P2
28 #undef P3
29 #undef P4
30 #undef P5
31 #undef P6
32 #undef P7
33 #undef P8
35 #if NeedFunctionPrototypes
37 # define P( protos ) protos
39 # define P0() (void)
40 # define P1(x, a) (a)
41 # define P2(x, a, b) (a, b)
42 # define P3(x, a, b, c) (a, b, c)
43 # define P4(x, a, b, c, d) (a, b, c, d)
44 # define P5(x, a, b, c, d, e) (a, b, c, d, e)
45 # define P6(x, a, b, c, d, e, f) (a, b, c, d, e, f)
46 # define P7(x, a, b, c, d, e, f, g) (a, b, c, d, e, f, g)
47 # define P8(x, a, b, c, d, e, f, g, h) (a, b, c, d, e, f, g, h)
49 #else /* !NeedFunctionPrototypes */
51 # define P( protos ) ( /* protos */ )
53 # define P0() ()
54 # define P1(x, a) x a;
55 # define P2(x, a, b) x a; b;
56 # define P3(x, a, b, c) x a; b; c;
57 # define P4(x, a, b, c, d) x a; b; c; d;
58 # define P5(x, a, b, c, d, e) x a; b; c; d; e;
59 # define P6(x, a, b, c, d, e, f) x a; b; c; d; e; f;
60 # define P7(x, a, b, c, d, e, f, g) x a; b; c; d; e; f; g;
61 # define P8(x, a, b, c, d, e, f, g, h) x a; b; c; d; e; f; g; h;
63 #endif /* !NeedFunctionPrototypes */
65 #endif /* PROTO_H */