Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm If ubc_winshift gets constified, the extern declarat...



details:   https://anonhg.NetBSD.org/src/rev/110a09cef506
branches:  trunk
changeset: 973275:110a09cef506
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Thu Jun 25 16:36:43 2020 +0000

description:
If ubc_winshift gets constified, the extern declaration must be too.

diffstat:

 sys/uvm/uvm_param.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 841bbe40e387 -r 110a09cef506 sys/uvm/uvm_param.h
--- a/sys/uvm/uvm_param.h       Thu Jun 25 16:34:49 2020 +0000
+++ b/sys/uvm/uvm_param.h       Thu Jun 25 16:36:43 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_param.h,v 1.38 2018/08/22 01:05:24 msaitoh Exp $   */
+/*     $NetBSD: uvm_param.h,v 1.39 2020/06/25 16:36:43 mlelstv Exp $   */
 
 /*
  * Copyright (c) 1991, 1993
@@ -212,7 +212,7 @@
 #endif
 
 extern int             ubc_nwins;      /* number of UBC mapping windows */
-extern int             ubc_winshift;   /* shift for a UBC mapping window */
+extern const int       ubc_winshift;   /* shift for a UBC mapping window */
 extern u_int           uvm_emap_size;  /* size of emap */
 
 #else



Home | Main Index | Thread Index | Old Index