Use MALLOC_DECLARE when it is #defined, not when a (wrong) test of

__FreeBSD_version succeeds.
This commit is contained in:
Bruce Evans 2000-01-14 19:47:07 +00:00
parent 16425993ca
commit d3efeb2865
2 changed files with 2 additions and 2 deletions

View File

@ -283,7 +283,7 @@ struct ntfsmount {
#define ntfs_bpbl (daddr_t)((ntmp)->ntm_bps)
#if __FreeBSD_version >= 300000
#ifdef MALLOC_DECLARE
MALLOC_DECLARE(M_NTFSMNT);
MALLOC_DECLARE(M_NTFSNTNODE);
MALLOC_DECLARE(M_NTFSFNODE);

View File

@ -283,7 +283,7 @@ struct ntfsmount {
#define ntfs_bpbl (daddr_t)((ntmp)->ntm_bps)
#if __FreeBSD_version >= 300000
#ifdef MALLOC_DECLARE
MALLOC_DECLARE(M_NTFSMNT);
MALLOC_DECLARE(M_NTFSNTNODE);
MALLOC_DECLARE(M_NTFSFNODE);