Module Name: src
Committed By: mlelstv
Date: Thu Jun 25 16:36:43 UTC 2020
Modified Files:
src/sys/uvm: uvm_param.h
Log Message:
If ubc_winshift gets constified, the extern declaration must be too.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/uvm/uvm_param.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/uvm/uvm_param.h
diff -u src/sys/uvm/uvm_param.h:1.38 src/sys/uvm/uvm_param.h:1.39
--- src/sys/uvm/uvm_param.h:1.38 Wed Aug 22 01:05:24 2018
+++ src/sys/uvm/uvm_param.h Thu Jun 25 16:36:43 2020
@@ -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 @@ extern unsigned int user_thread_stack_gu
#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