Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/include undo previous; __register_t is alread...



details:   https://anonhg.NetBSD.org/src/rev/3594f806a369
branches:  trunk
changeset: 1016897:3594f806a369
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 06 03:19:14 2020 +0000

description:
undo previous; __register_t is already defined

diffstat:

 sys/arch/sparc/include/types.h |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r ba231e04915e -r 3594f806a369 sys/arch/sparc/include/types.h
--- a/sys/arch/sparc/include/types.h    Sun Dec 06 02:57:29 2020 +0000
+++ b/sys/arch/sparc/include/types.h    Sun Dec 06 03:19:14 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.69 2020/12/06 02:23:12 christos Exp $ */
+/*     $NetBSD: types.h,v 1.70 2020/12/06 03:19:14 christos Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -57,10 +57,9 @@
 #include <sys/featuretest.h>
 #include <machine/int_types.h>
 
-typedef unsigned long int      __register_t;
 /* The following are unsigned to prevent annoying sign extended pointers. */
 #if defined(_KERNEL) || defined(_KMEMUSER) || defined(_KERNTYPES) || defined(_STANDALONE)
-typedef __register_t           register_t;
+typedef unsigned long int      register_t;
 #define        PRIxREGISTER            "lx"
 typedef unsigned int           register32_t;
 #define        PRIxREGISTER32          "x"



Home | Main Index | Thread Index | Old Index