Embed "pmc_evid_t" and "pmc_ctr_t" into "if defined(_KERNEL)" and use

"__uint64_t" from "int_types.h". This fixes "lint" errors while
building "libc".
This commit is contained in:
tron 2002-08-07 09:34:54 +00:00
parent e373d8b520
commit b145a3fa59
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: types.h,v 1.31 2002/08/07 05:38:24 briggs Exp $ */
/* $NetBSD: types.h,v 1.32 2002/08/07 09:34:54 tron Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -55,8 +55,10 @@ typedef unsigned long vaddr_t;
typedef unsigned long vsize_t;
#endif
#if defined(_KERNEL)
typedef int pmc_evid_t;
typedef unsigned long long pmc_ctr_t;
typedef __uint64_t pmc_ctr_t;
#endif
typedef int register_t;
/* The x86 does not have strict alignment requirements. */