From 1daac3c5d1410ff13a4f56314bb93bfcb3e0c137 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 2 Feb 1989 12:49:21 +0000 Subject: [PATCH] made arg_error dependant on DEBUG --- mach/m68020/ce/mach.c | 2 ++ mach/m68020/ce/mach.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/mach/m68020/ce/mach.c b/mach/m68020/ce/mach.c index d4e7e83c1..f829f4476 100644 --- a/mach/m68020/ce/mach.c +++ b/mach/m68020/ce/mach.c @@ -4,12 +4,14 @@ #include +#ifdef DEBUG arg_error( s, arg) char *s; int arg; { fprint( STDERR, "arg_error %s %d\n", s, arg); } +#endif /* diff --git a/mach/m68020/ce/mach.h b/mach/m68020/ce/mach.h index 1cbd4f96c..6a19f6b5b 100644 --- a/mach/m68020/ce/mach.h +++ b/mach/m68020/ce/mach.h @@ -42,3 +42,7 @@ #define small( x) ( 1 <= (x) && (x) <= 8) + +#ifndef DEBUG +#define arg_error(s,i) +#endif