Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ufs use NULL instead of 0 for pointers
details: https://anonhg.NetBSD.org/src/rev/977f8e2d32e9
branches: trunk
changeset: 749115:977f8e2d32e9
user: yamt <yamt%NetBSD.org@localhost>
date: Wed Nov 18 12:22:48 2009 +0000
description:
use NULL instead of 0 for pointers
diffstat:
sys/ufs/ufs/ufs_wapbl.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (25 lines):
diff -r 94d255c4341f -r 977f8e2d32e9 sys/ufs/ufs/ufs_wapbl.h
--- a/sys/ufs/ufs/ufs_wapbl.h Wed Nov 18 12:01:25 2009 +0000
+++ b/sys/ufs/ufs/ufs_wapbl.h Wed Nov 18 12:22:48 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs_wapbl.h,v 1.5 2008/10/08 22:58:56 pooka Exp $ */
+/* $NetBSD: ufs_wapbl.h,v 1.6 2009/11/18 12:22:48 yamt Exp $ */
/*-
* Copyright (c) 2003,2006,2008 The NetBSD Foundation, Inc.
@@ -135,11 +135,11 @@
}
#define UFS_WAPBL_BEGIN(mp) \
- ufs_wapbl_begin2(mp, 0, 0, __FUNCTION__, __LINE__)
+ ufs_wapbl_begin2(mp, NULL, NULL, __FUNCTION__, __LINE__)
#define UFS_WAPBL_BEGIN1(mp, v1) \
- ufs_wapbl_begin2(mp, v1, 0, __FUNCTION__, __LINE__)
-#define UFS_WAPBL_END(mp) ufs_wapbl_end2(mp, 0, 0)
-#define UFS_WAPBL_END1(mp, v1) ufs_wapbl_end2(mp, v1, 0)
+ ufs_wapbl_begin2(mp, v1, NULL, __FUNCTION__, __LINE__)
+#define UFS_WAPBL_END(mp) ufs_wapbl_end2(mp, NULL, NULL)
+#define UFS_WAPBL_END1(mp, v1) ufs_wapbl_end2(mp, v1, NULL)
#define UFS_WAPBL_UPDATE(vp, access, modify, flags) \
if ((vp)->v_mount->mnt_wapbl) { \
Home |
Main Index |
Thread Index |
Old Index