Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/newfs switch to __empty



details:   https://anonhg.NetBSD.org/src/rev/a2b75c90c80b
branches:  trunk
changeset: 351264:a2b75c90c80b
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Feb 08 16:56:56 2017 +0000

description:
switch to __empty

diffstat:

 sbin/newfs/extern.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 9180314f8777 -r a2b75c90c80b sbin/newfs/extern.h
--- a/sbin/newfs/extern.h       Wed Feb 08 16:26:19 2017 +0000
+++ b/sbin/newfs/extern.h       Wed Feb 08 16:56:56 2017 +0000
@@ -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 @@
 #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



Home | Main Index | Thread Index | Old Index