From 45a94c9858fba866c858142e4eb2aa3d12a120fa Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 2 Feb 1989 11:42:53 +0000 Subject: [PATCH] made arg_error dependant on a DEBUG constant --- mach/sun3/ce/mach.c | 2 ++ mach/sun3/ce/mach.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/mach/sun3/ce/mach.c b/mach/sun3/ce/mach.c index 59e763628..52da8875d 100644 --- a/mach/sun3/ce/mach.c +++ b/mach/sun3/ce/mach.c @@ -5,12 +5,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/sun3/ce/mach.h b/mach/sun3/ce/mach.h index c9d3875e5..f46ee01bb 100644 --- a/mach/sun3/ce/mach.h +++ b/mach/sun3/ce/mach.h @@ -41,3 +41,7 @@ #define small( x) ( 1 <= (x) && (x) <= 8) + +#ifndef DEBUG +#define arg_error(s, i) +#endif -- 2.34.1