Don't build the stuff in this file if RF_INCLUDE_EVENODD is not defined.

This commit is contained in:
oster 2001-01-26 03:50:53 +00:00
parent 8211e0e08b
commit 9880e186ec

View File

@ -1,4 +1,4 @@
/* $NetBSD: rf_evenodd_dagfuncs.c,v 1.6 2000/03/30 12:45:40 augustss Exp $ */
/* $NetBSD: rf_evenodd_dagfuncs.c,v 1.7 2001/01/26 03:50:53 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@ -30,6 +30,10 @@
* Code for RAID-EVENODD architecture.
*/
#include "rf_archs.h"
#if RF_INCLUDE_EVENODD > 0
#include "rf_types.h"
#include "rf_raid.h"
#include "rf_dag.h"
@ -967,3 +971,4 @@ rf_EOWriteDoubleRecoveryFunc(node)
rf_GenericWakeupFunc(node, 0);
return (0);
}
#endif /* RF_INCLUDE_EVENODD > 0 */