Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ufs constify 'mastertemplate'.



details:   https://anonhg.NetBSD.org/src/rev/b0b1780611f9
branches:  trunk
changeset: 546439:b0b1780611f9
user:      yamt <yamt%NetBSD.org@localhost>
date:      Tue Apr 29 07:45:23 2003 +0000

description:
constify 'mastertemplate'.

diffstat:

 sys/ufs/ufs/ufs_vnops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2f63a3e3a8c5 -r b0b1780611f9 sys/ufs/ufs/ufs_vnops.c
--- a/sys/ufs/ufs/ufs_vnops.c   Tue Apr 29 07:44:04 2003 +0000
+++ b/sys/ufs/ufs/ufs_vnops.c   Tue Apr 29 07:45:23 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ufs_vnops.c,v 1.97 2003/04/25 23:12:33 fvdl Exp $      */
+/*     $NetBSD: ufs_vnops.c,v 1.98 2003/04/29 07:45:23 yamt Exp $      */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1993, 1995
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_vnops.c,v 1.97 2003/04/25 23:12:33 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_vnops.c,v 1.98 2003/04/29 07:45:23 yamt Exp $");
 
 #ifndef _LKM
 #include "opt_quota.h"
@@ -105,7 +105,7 @@
 /*
  * A virgin directory (no blushing please).
  */
-static struct dirtemplate mastertemplate = {
+static const struct dirtemplate mastertemplate = {
        0,      12,             DT_DIR, 1,      ".",
        0,      DIRBLKSIZ - 12, DT_DIR, 2,      ".."
 };



Home | Main Index | Thread Index | Old Index