made arg_error dependant on a DEBUG constant

This commit is contained in:
ceriel 1989-02-02 11:42:53 +00:00
parent f3c29355f6
commit 45a94c9858
2 changed files with 6 additions and 0 deletions

View file

@ -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
/* /*

View file

@ -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