diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2006-01-16 08:07:32 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2006-01-16 08:07:32 +0000 |
commit | 4c84479000c6dff676c5c2ea88c768928b9d4f8c (patch) | |
tree | 0f292db3815a9b3eef1de24eedad56338557d4eb /usr.bin/xlint | |
parent | b06d3f536887af2ffd3275bc3989d188568d9d80 (diff) |
Kill spurious warnings when using size_t as an index; since size_t and
ptrdiff_T are now alays (u)long, tell lint that. ok millert@ deraadt@
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r-- | usr.bin/xlint/lint1/param.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.bin/xlint/lint1/param.h b/usr.bin/xlint/lint1/param.h index 6e74f0e202f..c385c365d0c 100644 --- a/usr.bin/xlint/lint1/param.h +++ b/usr.bin/xlint/lint1/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.12 2004/02/07 23:27:32 millert Exp $ */ +/* $OpenBSD: param.h,v 1.13 2006/01/16 08:07:31 otto Exp $ */ /* $NetBSD: param.h,v 1.6 1996/04/01 21:47:57 mark Exp $ */ /* @@ -61,13 +61,8 @@ * Should be set to 1 if the difference of two pointers is of type long * or the value of sizeof is of type unsigned long. */ -#ifdef __LP64__ #define PTRDIFF_IS_LONG 1 #define SIZEOF_IS_ULONG 1 -#else -#define PTRDIFF_IS_LONG 0 -#define SIZEOF_IS_ULONG 0 -#endif /* * Make sure this matches wchar_t. |