Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Rename the two register_t uses that leaked to userla...



details:   https://anonhg.NetBSD.org/src/rev/5e91373cee57
branches:  trunk
changeset: 813295:5e91373cee57
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 23 21:19:24 2016 +0000

description:
Rename the two register_t uses that leaked to userland __register_t so that
they can be fixed later if we want.

diffstat:

 sys/sys/clockctl.h |  4 ++--
 sys/sys/ktrace.h   |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 8f1f13c567ed -r 5e91373cee57 sys/sys/clockctl.h
--- a/sys/sys/clockctl.h        Sat Jan 23 21:18:27 2016 +0000
+++ b/sys/sys/clockctl.h        Sat Jan 23 21:19:24 2016 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: clockctl.h,v 1.17 2015/12/07 06:28:22 pgoyette Exp $ */
+/*      $NetBSD: clockctl.h,v 1.18 2016/01/23 21:19:24 christos Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
 
 struct clockctl_ntp_adjtime {
        struct timex *tp;
-       register_t retval;
+       __register_t retval;
 };
 
 #define CLOCKCTL_NTP_ADJTIME _IOWR('C', 0x8, struct clockctl_ntp_adjtime)
diff -r 8f1f13c567ed -r 5e91373cee57 sys/sys/ktrace.h
--- a/sys/sys/ktrace.h  Sat Jan 23 21:18:27 2016 +0000
+++ b/sys/sys/ktrace.h  Sat Jan 23 21:19:24 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ktrace.h,v 1.61 2013/12/09 17:43:58 pooka Exp $        */
+/*     $NetBSD: ktrace.h,v 1.62 2016/01/23 21:19:24 christos Exp $     */
 
 /*
  * Copyright (c) 1988, 1993
@@ -126,8 +126,8 @@
        short   ktr_code;
        short   ktr_eosys;              /* XXX unused */
        int     ktr_error;
-       register_t ktr_retval;
-       register_t ktr_retval_1;
+       __register_t ktr_retval;
+       __register_t ktr_retval_1;
 };
 
 /*



Home | Main Index | Thread Index | Old Index