15e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh/* 25e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische 35e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh * Universitaet Berlin. See the accompanying file "COPYRIGHT" for 45e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. 55e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh */ 65e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh 75e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh/*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/proto.h,v 1.1 1992/10/28 00:11:08 jutta Exp $*/ 85e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh 95e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#ifndef PROTO_H 105e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#define PROTO_H 115e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh 125e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#if __cplusplus 135e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define NeedFunctionPrototypes 1 145e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#endif 155e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh 165e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#if __STDC__ 175e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define NeedFunctionPrototypes 1 185e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#endif 195e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh 205e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#ifdef _NO_PROTO 215e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# undef NeedFunctionPrototypes 225e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#endif 235e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh 245e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#undef P /* gnu stdio.h actually defines this... */ 255e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#undef P0 265e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#undef P1 275e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#undef P2 285e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#undef P3 295e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#undef P4 305e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#undef P5 315e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#undef P6 325e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#undef P7 335e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#undef P8 345e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh 355e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#if NeedFunctionPrototypes 365e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh 375e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P( protos ) protos 385e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh 395e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P0() (void) 405e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P1(x, a) (a) 415e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P2(x, a, b) (a, b) 425e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P3(x, a, b, c) (a, b, c) 435e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P4(x, a, b, c, d) (a, b, c, d) 445e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P5(x, a, b, c, d, e) (a, b, c, d, e) 455e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P6(x, a, b, c, d, e, f) (a, b, c, d, e, f) 465e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P7(x, a, b, c, d, e, f, g) (a, b, c, d, e, f, g) 475e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P8(x, a, b, c, d, e, f, g, h) (a, b, c, d, e, f, g, h) 485e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh 495e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#else /* !NeedFunctionPrototypes */ 505e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh 515e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P( protos ) ( /* protos */ ) 525e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh 535e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P0() () 545e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P1(x, a) x a; 555e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P2(x, a, b) x a; b; 565e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P3(x, a, b, c) x a; b; c; 575e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P4(x, a, b, c, d) x a; b; c; d; 585e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P5(x, a, b, c, d, e) x a; b; c; d; e; 595e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P6(x, a, b, c, d, e, f) x a; b; c; d; e; f; 605e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P7(x, a, b, c, d, e, f, g) x a; b; c; d; e; f; g; 615e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh# define P8(x, a, b, c, d, e, f, g, h) x a; b; c; d; e; f; g; h; 625e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh 635e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#endif /* !NeedFunctionPrototypes */ 645e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh 655e4516958690b9a1b2c98f88eeecba3edd2dbda4Chia-chi Yeh#endif /* PROTO_H */ 66