Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ufs it is __CTASSERT()



details:   https://anonhg.NetBSD.org/src/rev/8f4b087a71ac
branches:  trunk
changeset: 769942:8f4b087a71ac
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Sep 27 01:43:39 2011 +0000

description:
it is __CTASSERT()

diffstat:

 sys/ufs/ufs/ufs_vnops.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 057942a94dcd -r 8f4b087a71ac sys/ufs/ufs/ufs_vnops.c
--- a/sys/ufs/ufs/ufs_vnops.c   Tue Sep 27 01:42:45 2011 +0000
+++ b/sys/ufs/ufs/ufs_vnops.c   Tue Sep 27 01:43:39 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ufs_vnops.c,v 1.203 2011/09/27 01:30:54 christos Exp $ */
+/*     $NetBSD: ufs_vnops.c,v 1.204 2011/09/27 01:43:39 christos Exp $ */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_vnops.c,v 1.203 2011/09/27 01:30:54 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_vnops.c,v 1.204 2011/09/27 01:43:39 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ffs.h"
@@ -108,10 +108,11 @@
 #include <ufs/ffs/ffs_extern.h>
 #include <ufs/lfs/lfs_extern.h>
 
-CTASSERT(EXT2FS_MAXNAMLEN == FFS_MAXNAMLEN);
-CTASSERT(LFS_MAXNAMLEN == FFS_MAXNAMLEN);
 #include <uvm/uvm.h>
 
+__CTASSERT(EXT2FS_MAXNAMLEN == FFS_MAXNAMLEN);
+__CTASSERT(LFS_MAXNAMLEN == FFS_MAXNAMLEN);
+
 static int ufs_chmod(struct vnode *, int, kauth_cred_t, struct lwp *);
 static int ufs_chown(struct vnode *, uid_t, gid_t, kauth_cred_t,
     struct lwp *);



Home | Main Index | Thread Index | Old Index