Quell a bunch of compiler warnings by avoiding using 'long long'.
This commit is contained in:
parent
4d1e9c4846
commit
c70112f9ae
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mcontext.h,v 1.5 2003/10/08 22:43:01 thorpej Exp $ */
|
||||
/* $NetBSD: mcontext.h,v 1.6 2003/12/07 20:01:58 scw Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -58,11 +58,7 @@
|
||||
#define _REG_SP _REG_R(15)
|
||||
|
||||
#ifndef __ASSEMBLER__
|
||||
#ifdef _LP64
|
||||
typedef long __greg_t;
|
||||
#else
|
||||
typedef long long __greg_t;
|
||||
#endif
|
||||
typedef __int64_t __greg_t;
|
||||
typedef __greg_t __gregset_t[_NGREG];
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: signal.h,v 1.10 2003/10/18 18:29:53 briggs Exp $ */
|
||||
/* $NetBSD: signal.h,v 1.11 2003/12/07 20:01:58 scw Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -46,11 +46,7 @@
|
||||
|
||||
#include <sys/featuretest.h>
|
||||
|
||||
#ifndef _LP64
|
||||
typedef long long sig_atomic_t;
|
||||
#else
|
||||
typedef long sig_atomic_t;
|
||||
#endif
|
||||
typedef __int64_t sig_atomic_t;
|
||||
|
||||
#define __HAVE_SIGINFO
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.8 2003/09/26 22:46:01 nathanw Exp $ */
|
||||
/* $NetBSD: types.h,v 1.9 2003/12/07 20:01:58 scw Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -53,11 +53,7 @@ typedef unsigned long vaddr_t;
|
||||
typedef unsigned long vsize_t;
|
||||
#endif
|
||||
|
||||
#ifndef _LP64
|
||||
typedef unsigned long long register_t;
|
||||
#else
|
||||
typedef unsigned long register_t;
|
||||
#endif
|
||||
typedef __uint64_t register_t;
|
||||
|
||||
#if defined(_KERNEL)
|
||||
/*
|
||||
@ -75,11 +71,7 @@ typedef struct label_t {
|
||||
} label_t;
|
||||
#endif
|
||||
|
||||
#ifndef _LP64
|
||||
typedef __volatile long long __cpu_simple_lock_t;
|
||||
#else
|
||||
typedef __volatile long __cpu_simple_lock_t;
|
||||
#endif
|
||||
typedef __volatile __int64_t __cpu_simple_lock_t;
|
||||
|
||||
#define __SIMPLELOCK_LOCKED 1
|
||||
#define __SIMPLELOCK_UNLOCKED 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user