Shuffle #ifdefs to include stuff only if we're doing parity logging

stuff.  Thanks Krister!
This commit is contained in:
oster 2002-09-21 00:52:49 +00:00
parent 1b852f9959
commit 34fb146d27
1 changed files with 4 additions and 17 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rf_dagfuncs.c,v 1.9 2002/09/11 03:01:23 oster Exp $ */
/* $NetBSD: rf_dagfuncs.c,v 1.10 2002/09/21 00:52:49 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@ -48,7 +48,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rf_dagfuncs.c,v 1.9 2002/09/11 03:01:23 oster Exp $");
__KERNEL_RCSID(0, "$NetBSD: rf_dagfuncs.c,v 1.10 2002/09/21 00:52:49 oster Exp $");
#include <sys/param.h>
#include <sys/ioctl.h>
@ -228,21 +228,6 @@ rf_ParityLogOverwriteFunc(node)
}
return (0);
}
#else /* RF_INCLUDE_PARITYLOGGING > 0 */
int
rf_ParityLogUpdateFunc(node)
RF_DagNode_t *node;
{
return (0);
}
int
rf_ParityLogOverwriteFunc(node)
RF_DagNode_t *node;
{
return (0);
}
#endif /* RF_INCLUDE_PARITYLOGGING > 0 */
int
rf_ParityLogUpdateUndoFunc(node)
@ -257,6 +242,8 @@ rf_ParityLogOverwriteUndoFunc(node)
{
return (0);
}
#endif /* RF_INCLUDE_PARITYLOGGING > 0 */
/*****************************************************************************************
* the execution function associated with a NOP node
****************************************************************************************/