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.
13 /* If NDEBUG _is_ defined and no debugging should be performed,
14 * calls to functions in this module are #defined to nothing
21 void gsm_debug_words P4( (name, from, to, ptr),
29 fprintf( stderr, "%s [%d .. %d]: ", name, from, to );
31 fprintf(stderr, "%d ", ptr[ from ] );
33 if (nprinted++ >= 7) {
35 if (from < to) putc('\n', stderr);
41 void gsm_debug_longwords P4( (name, from, to, ptr),
49 fprintf( stderr, "%s [%d .. %d]: ", name, from, to );
52 fprintf(stderr, "%d ", ptr[ from ] );
54 if (nprinted++ >= 7) {
56 if (from < to) putc('\n', stderr);
62 void gsm_debug_longword P2( (name, value),
66 fprintf(stderr, "%s: %d\n", name, (long)value );
69 void gsm_debug_word P2( (name, value),
73 fprintf(stderr, "%s: %d\n", name, (long)value);