From 88b0328acac1c528ff4f2821f0d07acbeda8341d Mon Sep 17 00:00:00 2001 From: pk Date: Tue, 27 Jun 2000 16:46:54 +0000 Subject: [PATCH] We shouldn't be defining DEBUG and DIAGNOSTIC on our own; these may have unwanted side-effects in the header files. For now, do the internal #defines after including the headers. --- sys/ufs/ffs/ffs_softdep.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 521487245b85..17b993803998 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: ffs_softdep.c,v 1.2 2000/06/22 16:13:41 fvdl Exp $ */ +/* $NetBSD: ffs_softdep.c,v 1.3 2000/06/27 16:46:54 pk Exp $ */ /* * Copyright 1998 Marshall Kirk McKusick. All Rights Reserved. @@ -32,16 +32,6 @@ * from: @(#)ffs_softdep.c 9.56 (McKusick) 1/17/00 */ -/* - * For now we want the safety net that the DIAGNOSTIC and DEBUG flags provide. - */ -#ifndef DIAGNOSTIC -#define DIAGNOSTIC -#endif -#ifndef DEBUG -#define DEBUG -#endif - #include #include #include @@ -63,6 +53,16 @@ #include #include +/* + * For now we want the safety net that the DIAGNOSTIC and DEBUG flags provide. + */ +#ifndef DIAGNOSTIC +#define DIAGNOSTIC +#endif +#ifndef DEBUG +#define DEBUG +#endif + /* * These definitions need to be adapted to the system to which * this file is being ported.