Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/nfs Guard a function local CTASSERT with pro/epilogue
details: https://anonhg.NetBSD.org/src/rev/3c139278fea6
branches: trunk
changeset: 790005:3c139278fea6
user: martin <martin%NetBSD.org@localhost>
date: Sat Sep 14 21:11:45 2013 +0000
description:
Guard a function local CTASSERT with pro/epilogue
diffstat:
sys/nfs/nfs_export.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 69b1a73c993f -r 3c139278fea6 sys/nfs/nfs_export.c
--- a/sys/nfs/nfs_export.c Sat Sep 14 21:08:35 2013 +0000
+++ b/sys/nfs/nfs_export.c Sat Sep 14 21:11:45 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_export.c,v 1.54 2013/08/30 07:35:44 dholland Exp $ */
+/* $NetBSD: nfs_export.c,v 1.55 2013/09/14 21:11:45 martin Exp $ */
/*-
* Copyright (c) 1997, 1998, 2004, 2005, 2008 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_export.c,v 1.54 2013/08/30 07:35:44 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_export.c,v 1.55 2013/09/14 21:11:45 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -449,7 +449,9 @@
* The following code assumes export_args has not
* changed since export_args30, so check that.
*/
+ __CT_LOCAL_PROLOGUE
__CTASSERT(sizeof(args->eargs) == sizeof(*mel.mel_exports));
+ __CT_LOCAL_EPILOGUE
mel.mel_nexports = 1;
mel.mel_exports = (void *)&args->eargs;
Home |
Main Index |
Thread Index |
Old Index