Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/stand/prekern avoid typedef redefinitiones



details:   https://anonhg.NetBSD.org/src/rev/d0b7feb1e56f
branches:  trunk
changeset: 829061:d0b7feb1e56f
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 15 22:38:01 2018 +0000

description:
avoid typedef redefinitiones

diffstat:

 sys/arch/amd64/stand/prekern/prekern.h |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r 9a2365b4a237 -r d0b7feb1e56f sys/arch/amd64/stand/prekern/prekern.h
--- a/sys/arch/amd64/stand/prekern/prekern.h    Mon Jan 15 22:14:24 2018 +0000
+++ b/sys/arch/amd64/stand/prekern/prekern.h    Mon Jan 15 22:38:01 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: prekern.h,v 1.18 2017/11/26 11:01:09 maxv Exp $        */
+/*     $NetBSD: prekern.h,v 1.19 2018/01/15 22:38:01 christos Exp $    */
 
 /*
  * Copyright (c) 2017 The NetBSD Foundation, Inc. All rights reserved.
@@ -38,9 +38,6 @@
 #include "redef.h"
 
 #define ASSERT(a) if (!(a)) fatal("ASSERT");
-typedef uint64_t paddr_t;
-typedef uint64_t vaddr_t;
-typedef uint64_t pt_entry_t;
 typedef uint64_t pte_prot_t;
 #define WHITE_ON_BLACK 0x07
 #define RED_ON_BLACK 0x04



Home | Main Index | Thread Index | Old Index