File: debug.c

package info (click to toggle)
gscanbus 0.7.1-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 652 kB
  • ctags: 496
  • sloc: ansic: 2,862; sh: 330; makefile: 50
file content (14 lines) | stat: -rw-r--r-- 214 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* $Id: debug.c,v 1.1 2000/06/27 19:02:58 ami Exp $
 *
 * debug.c
 */

#include <stdio.h>

char debug_level = 0;

void set_debug_level(char n) {
	debug_level = n;
	fprintf(stderr,"Setting Debug level: %i\n",n);
}