Provide definitions for intptr_t and uintptr_t, signed resp. unsigned integral
types large enough to hold any pointer.
This commit is contained in:
parent
ced11d04ee
commit
a53c1863fe
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.9 1997/11/23 20:20:53 kleink Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.10 1998/04/27 17:39:10 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -62,6 +62,8 @@ typedef struct {
|
||||
#define _BSD_TIMER_T_ int /* timer_t */
|
||||
#define _BSD_SUSECONDS_T_ int /* suseconds_t */
|
||||
#define _BSD_USECONDS_T_ unsigned int /* useconds_t */
|
||||
#define _BSD_INTPTR_T_ long /* intptr_t */
|
||||
#define _BSD_UINTPTR_T_ unsigned long /* uintptr_t */
|
||||
|
||||
/*
|
||||
* Runes (wchar_t) is declared to be an ``int'' instead of the more natural
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.6 1997/11/23 20:20:54 kleink Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.7 1998/04/27 17:39:10 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -57,6 +57,8 @@
|
||||
#define _BSD_TIMER_T_ int /* timer_t */
|
||||
#define _BSD_SUSECONDS_T_ int /* suseconds_t */
|
||||
#define _BSD_USECONDS_T_ unsigned int /* useconds_t */
|
||||
#define _BSD_INTPTR_T_ int /* intptr_t */
|
||||
#define _BSD_UINTPTR_T_ unsigned int /* uintptr_t */
|
||||
|
||||
/*
|
||||
* Runes (wchar_t) is declared to be an ``int'' instead of the more natural
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.4 1998/02/12 01:21:10 sakamoto Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.5 1998/04/27 17:39:10 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -65,6 +65,8 @@ struct __gnuc_va_list__; /* forward declaration to prohibit gcc warning XXX */
|
||||
#define _BSD_TIMER_T_ int /* timer_t */
|
||||
#define _BSD_SUSECONDS_T_ int /* suseconds_t */
|
||||
#define _BSD_USECONDS_T_ unsigned int /* useconds_t */
|
||||
#define _BSD_INTPTR_T_ int /* intptr_t */
|
||||
#define _BSD_UINTPTR_T_ unsigned int /* uintptr_t */
|
||||
|
||||
/*
|
||||
* Runes (wchar_t) is declared to be an ``int'' instead of the more natural
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.8 1997/11/23 20:20:58 kleink Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.9 1998/04/27 17:39:10 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -57,6 +57,8 @@
|
||||
#define _BSD_TIMER_T_ int /* timer_t */
|
||||
#define _BSD_SUSECONDS_T_ int /* suseconds_t */
|
||||
#define _BSD_USECONDS_T_ unsigned int /* useconds_t */
|
||||
#define _BSD_INTPTR_T_ int /* intptr_t */
|
||||
#define _BSD_UINTPTR_T_ unsigned int /* uintptr_t */
|
||||
|
||||
/*
|
||||
* Runes (wchar_t) is declared to be an ``int'' instead of the more natural
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.8 1997/11/23 20:20:59 kleink Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.9 1998/04/27 17:39:11 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -57,6 +57,8 @@
|
||||
#define _BSD_TIMER_T_ int /* timer_t */
|
||||
#define _BSD_SUSECONDS_T_ int /* suseconds_t */
|
||||
#define _BSD_USECONDS_T_ unsigned int /* useconds_t */
|
||||
#define _BSD_INTPTR_T_ int /* intptr_t */
|
||||
#define _BSD_UINTPTR_T_ unsigned int /* uintptr_t */
|
||||
|
||||
/*
|
||||
* Runes (wchar_t) is declared to be an ``int'' instead of the more natural
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.8 1997/11/23 20:21:00 kleink Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.9 1998/04/27 17:39:11 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -57,6 +57,8 @@
|
||||
#define _BSD_TIMER_T_ int /* timer_t */
|
||||
#define _BSD_SUSECONDS_T_ int /* suseconds_t */
|
||||
#define _BSD_USECONDS_T_ unsigned int /* useconds_t */
|
||||
#define _BSD_INTPTR_T_ int /* intptr_t */
|
||||
#define _BSD_UINTPTR_T_ unsigned int /* uintptr_t */
|
||||
|
||||
/*
|
||||
* Runes (wchar_t) is declared to be an ``int'' instead of the more natural
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.9 1997/11/23 20:21:01 kleink Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.10 1998/04/27 17:39:11 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -57,6 +57,8 @@
|
||||
#define _BSD_TIMER_T_ int /* timer_t */
|
||||
#define _BSD_SUSECONDS_T_ int /* suseconds_t */
|
||||
#define _BSD_USECONDS_T_ unsigned int /* useconds_t */
|
||||
#define _BSD_INTPTR_T_ int /* intptr_t */
|
||||
#define _BSD_UINTPTR_T_ unsigned int /* uintptr_t */
|
||||
|
||||
/*
|
||||
* Runes (wchar_t) is declared to be an ``int'' instead of the more natural
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.4 1997/11/23 20:21:02 kleink Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.5 1998/04/27 17:39:11 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -65,6 +65,8 @@ struct __gnuc_va_list__; /* forward declaration to prohibit gcc warning XXX */
|
||||
#define _BSD_TIMER_T_ int /* timer_t */
|
||||
#define _BSD_SUSECONDS_T_ int /* suseconds_t */
|
||||
#define _BSD_USECONDS_T_ unsigned int /* useconds_t */
|
||||
#define _BSD_INTPTR_T_ int /* intptr_t */
|
||||
#define _BSD_UINTPTR_T_ unsigned int /* uintptr_t */
|
||||
|
||||
/*
|
||||
* Runes (wchar_t) is declared to be an ``int'' instead of the more natural
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.7 1997/11/23 20:21:03 kleink Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.8 1998/04/27 17:39:11 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -57,6 +57,8 @@
|
||||
#define _BSD_TIMER_T_ int /* timer_t */
|
||||
#define _BSD_SUSECONDS_T_ int /* suseconds_t */
|
||||
#define _BSD_USECONDS_T_ unsigned int /* useconds_t */
|
||||
#define _BSD_INTPTR_T_ int /* intptr_t */
|
||||
#define _BSD_UINTPTR_T_ unsigned int /* uintptr_t */
|
||||
|
||||
/*
|
||||
* Runes (wchar_t) is declared to be an ``int'' instead of the more natural
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ansi.h,v 1.6 1997/11/23 20:21:04 kleink Exp $ */
|
||||
/* $NetBSD: ansi.h,v 1.7 1998/04/27 17:39:11 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -61,6 +61,8 @@
|
||||
#define _BSD_TIMER_T_ int /* timer_t */
|
||||
#define _BSD_SUSECONDS_T_ int /* suseconds_t */
|
||||
#define _BSD_USECONDS_T_ unsigned int /* useconds_t */
|
||||
#define _BSD_INTPTR_T_ int /* intptr_t */
|
||||
#define _BSD_UINTPTR_T_ unsigned int /* uintptr_t */
|
||||
|
||||
|
||||
#endif /* _ANSI_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user