diff options
author | Johnathan Corgan | 2011-07-18 06:28:05 -0700 |
---|---|---|
committer | Johnathan Corgan | 2011-07-18 10:04:07 -0700 |
commit | 30754b17df67a808e7c960d4f3c94a6b05557a17 (patch) | |
tree | 2799d8e68ba20d0858c2d9aaf35ed22dd904f990 /gr-vocoder/lib/gsm/proto.h | |
parent | a6a51938fabe4cbcd6de596b479a4f8c343deb86 (diff) | |
download | gnuradio-30754b17df67a808e7c960d4f3c94a6b05557a17.tar.gz gnuradio-30754b17df67a808e7c960d4f3c94a6b05557a17.tar.bz2 gnuradio-30754b17df67a808e7c960d4f3c94a6b05557a17.zip |
gr-vocoder: reimplemented gr-gsm-fr-vocoder in gr-vocoder
Diffstat (limited to 'gr-vocoder/lib/gsm/proto.h')
-rw-r--r-- | gr-vocoder/lib/gsm/proto.h | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/gr-vocoder/lib/gsm/proto.h b/gr-vocoder/lib/gsm/proto.h new file mode 100644 index 000000000..87cf05e8a --- /dev/null +++ b/gr-vocoder/lib/gsm/proto.h @@ -0,0 +1,65 @@ +/* + * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische + * Universitaet Berlin. See the accompanying file "COPYRIGHT" for + * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. + */ + +/*$Header$*/ + +#ifndef PROTO_H +#define PROTO_H + +#if __cplusplus +# define NeedFunctionPrototypes 1 +#endif + +#if __STDC__ +# define NeedFunctionPrototypes 1 +#endif + +#ifdef _NO_PROTO +# undef NeedFunctionPrototypes +#endif + +#undef P /* gnu stdio.h actually defines this... */ +#undef P0 +#undef P1 +#undef P2 +#undef P3 +#undef P4 +#undef P5 +#undef P6 +#undef P7 +#undef P8 + +#if NeedFunctionPrototypes + +# define P( protos ) protos + +# define P0() (void) +# define P1(x, a) (a) +# define P2(x, a, b) (a, b) +# define P3(x, a, b, c) (a, b, c) +# define P4(x, a, b, c, d) (a, b, c, d) +# define P5(x, a, b, c, d, e) (a, b, c, d, e) +# define P6(x, a, b, c, d, e, f) (a, b, c, d, e, f) +# define P7(x, a, b, c, d, e, f, g) (a, b, c, d, e, f, g) +# define P8(x, a, b, c, d, e, f, g, h) (a, b, c, d, e, f, g, h) + +#else /* !NeedFunctionPrototypes */ + +# define P( protos ) ( /* protos */ ) + +# define P0() () +# define P1(x, a) x a; +# define P2(x, a, b) x a; b; +# define P3(x, a, b, c) x a; b; c; +# define P4(x, a, b, c, d) x a; b; c; d; +# define P5(x, a, b, c, d, e) x a; b; c; d; e; +# define P6(x, a, b, c, d, e, f) x a; b; c; d; e; f; +# define P7(x, a, b, c, d, e, f, g) x a; b; c; d; e; f; g; +# define P8(x, a, b, c, d, e, f, g, h) x a; b; c; d; e; f; g; h; + +#endif /* !NeedFunctionPrototypes */ + +#endif /* PROTO_H */ |