From 6d408d58d0e8509bc55ec79a37d780d6af3f9916 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sat, 10 Jul 2004 21:21:55 +0000 Subject: [PATCH] Update for the KDB framework: o Make debugging code conditional upon KDB instead of DDB. --- sys/gnu/ext2fs/ext2_subr.c | 8 +++----- sys/gnu/fs/ext2fs/ext2_subr.c | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/sys/gnu/ext2fs/ext2_subr.c b/sys/gnu/ext2fs/ext2_subr.c index 7e93321a8158..94db9346b7c0 100644 --- a/sys/gnu/ext2fs/ext2_subr.c +++ b/sys/gnu/ext2fs/ext2_subr.c @@ -51,9 +51,7 @@ #include #include -#include "opt_ddb.h" - -#ifdef DDB +#ifdef KDB void ext2_checkoverlap(struct buf *, struct inode *); #endif @@ -91,7 +89,7 @@ ext2_blkatoff(vp, offset, res, bpp) return (0); } -#ifdef DDB +#ifdef KDB void ext2_checkoverlap(bp, ip) struct buf *bp; @@ -120,4 +118,4 @@ ext2_checkoverlap(bp, ip) panic("Disk buffer overlap"); } } -#endif /* DDB */ +#endif /* KDB */ diff --git a/sys/gnu/fs/ext2fs/ext2_subr.c b/sys/gnu/fs/ext2fs/ext2_subr.c index 7e93321a8158..94db9346b7c0 100644 --- a/sys/gnu/fs/ext2fs/ext2_subr.c +++ b/sys/gnu/fs/ext2fs/ext2_subr.c @@ -51,9 +51,7 @@ #include #include -#include "opt_ddb.h" - -#ifdef DDB +#ifdef KDB void ext2_checkoverlap(struct buf *, struct inode *); #endif @@ -91,7 +89,7 @@ ext2_blkatoff(vp, offset, res, bpp) return (0); } -#ifdef DDB +#ifdef KDB void ext2_checkoverlap(bp, ip) struct buf *bp; @@ -120,4 +118,4 @@ ext2_checkoverlap(bp, ip) panic("Disk buffer overlap"); } } -#endif /* DDB */ +#endif /* KDB */