switch to __empty

This commit is contained in:
rin 2017-02-08 16:56:56 +00:00
parent f0dfa8e226
commit 47e6c13bb2
1 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: extern.h,v 1.16 2017/02/08 16:11:40 rin Exp $ */
/* $NetBSD: extern.h,v 1.17 2017/02/08 16:56:56 rin Exp $ */
/*
* Copyright (c) 1997 Christos Zoulas. All rights reserved.
@ -59,10 +59,10 @@ extern int needswap; /* Filesystem not in native byte order */
#else
/* Disable Endian-Independent FFS support for install media */
#define needswap (0)
#define ffs_cg_swap(a, b, c) do {} while (/*CONSTCOND*/0)
#define ffs_csum_swap(a, b, c) do {} while (/*CONSTCOND*/0)
#define ffs_dinode1_swap(a, b) do {} while (/*CONSTCOND*/0)
#define ffs_sb_swap(a, b) do {} while (/*CONSTCOND*/0)
#define ffs_cg_swap(a, b, c) __empty
#define ffs_csum_swap(a, b, c) __empty
#define ffs_dinode1_swap(a, b) __empty
#define ffs_sb_swap(a, b) __empty
#endif
#ifndef NO_APPLE_UFS