Make this compile _and_ link with DEBUG / ADB_DEBUG defined.

This commit is contained in:
briggs 1998-11-14 03:20:47 +00:00
parent 94125bb185
commit 0659054b8b
2 changed files with 9 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: adb_direct.c,v 1.18 1998/11/14 03:01:31 briggs Exp $ */
/* $NetBSD: adb_direct.c,v 1.19 1998/11/14 03:20:47 briggs Exp $ */
/* From: adb_direct.c 2.02 4/18/97 jpw */
@ -71,12 +71,6 @@
#include <machine/cpu.h>
#include <machine/adbsys.h> /* required for adbvar.h */
#ifdef DEBUG
#ifndef ADB_DEBUG
#define ADB_DEBUG
#endif
#endif
#include <mac68k/mac68k/macrom.h>
#include <mac68k/dev/adbvar.h>
#define printf_intr printf

View File

@ -1,4 +1,4 @@
/* $NetBSD: adbvar.h,v 1.12 1998/10/26 07:06:41 scottr Exp $ */
/* $NetBSD: adbvar.h,v 1.13 1998/11/14 03:20:47 briggs Exp $ */
/*
* Copyright (C) 1994 Bradley A. Grantham
@ -53,6 +53,13 @@ extern int adb_traceq[ADB_MAXTRACE];
extern int adb_traceq_tail;
extern int adb_traceq_len;
extern int adb_polling;
#ifdef DEBUG
#ifndef ADB_DEBUG
#define ADB_DEBUG
#endif
#endif
#ifdef ADB_DEBUG
extern int adb_debug;
#endif