diff options
| author | dholland <dholland@NetBSD.org> | 2011-08-22 01:24:15 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2011-08-22 01:24:15 +0000 |
| commit | dbc7070c0698e37bb6fb711f3a6b88c6535377b7 (patch) | |
| tree | 5cbfa8706e6d0aa217c87b7102bd0130719695c6 /include | |
| parent | ada921b8d9aed3dcaeb1d256507e3851f6b1a618 (diff) | |
Don't pollute the namespace with stdint.h. (This file is included from
string.h so it can't blithely do whatever it feels like.) PR 45258.
Diffstat (limited to 'include')
| -rw-r--r-- | include/strings.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/strings.h b/include/strings.h index dc90dcb3534..26be65840e4 100644 --- a/include/strings.h +++ b/include/strings.h @@ -1,4 +1,4 @@ -/* $NetBSD: strings.h,v 1.17 2009/08/19 04:22:53 yamt Exp $ */ +/* $NetBSD: strings.h,v 1.18 2011/08/22 01:24:15 dholland Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -46,7 +46,7 @@ typedef _BSD_SIZE_T_ size_t; #include <sys/cdefs.h> -#include <stdint.h> +#include <machine/int_types.h> __BEGIN_DECLS int bcmp(const void *, const void *, size_t); @@ -57,8 +57,8 @@ char *index(const char *, int); unsigned int popcount(unsigned int) __constfunc; unsigned int popcountl(unsigned long) __constfunc; unsigned int popcountll(unsigned long long) __constfunc; -unsigned int popcount32(uint32_t) __constfunc; -unsigned int popcount64(uint64_t) __constfunc; +unsigned int popcount32(__uint32_t) __constfunc; +unsigned int popcount64(__uint64_t) __constfunc; char *rindex(const char *, int); int strcasecmp(const char *, const char *); int strncasecmp(const char *, const char *, size_t); |
