made arg_error dependant on a DEBUG constant
This commit is contained in:
parent
f3c29355f6
commit
45a94c9858
2 changed files with 6 additions and 0 deletions
|
@ -5,12 +5,14 @@
|
||||||
#include <system.h>
|
#include <system.h>
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
arg_error( s, arg)
|
arg_error( s, arg)
|
||||||
char *s;
|
char *s;
|
||||||
int arg;
|
int arg;
|
||||||
{
|
{
|
||||||
fprint( STDERR, "arg_error %s %d\n", s, arg);
|
fprint( STDERR, "arg_error %s %d\n", s, arg);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -41,3 +41,7 @@
|
||||||
|
|
||||||
|
|
||||||
#define small( x) ( 1 <= (x) && (x) <= 8)
|
#define small( x) ( 1 <= (x) && (x) <= 8)
|
||||||
|
|
||||||
|
#ifndef DEBUG
|
||||||
|
#define arg_error(s, i)
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue