summaryrefslogtreecommitdiffstats
path: root/sys/arm/include/ansi.h
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-07-29 17:41:23 +0000
committermike <mike@FreeBSD.org>2002-07-29 17:41:23 +0000
commit9f0ddc464e0c402f25ea8ae47e53ae9dba1c60c6 (patch)
treefb04866abc5687d2f4e78a89dc6942070f762ba8 /sys/arm/include/ansi.h
parent0bf99191f0746f4d69a3d5389f707ff9a2630553 (diff)
downloadFreeBSD-src-9f0ddc464e0c402f25ea8ae47e53ae9dba1c60c6.zip
FreeBSD-src-9f0ddc464e0c402f25ea8ae47e53ae9dba1c60c6.tar.gz
Create a new header <machine/_stdint.h> for storing MD parts of
<stdint.h>. Previously, parts were defined in <machine/ansi.h> and <machine/limits.h>. This resulted in two problems: (1) Defining macros in <machine/ansi.h> gets in the way of that header only defining types. (2) Defining C99 limits in <machine/limits.h> adds pollution to <limits.h>.
Diffstat (limited to 'sys/arm/include/ansi.h')
-rw-r--r--sys/arm/include/ansi.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/arm/include/ansi.h b/sys/arm/include/ansi.h
index dcf65ab..2596276 100644
--- a/sys/arm/include/ansi.h
+++ b/sys/arm/include/ansi.h
@@ -162,19 +162,6 @@ typedef __uint64_t __uint_fast64_t;
typedef __int64_t __intmax_t;
typedef __uint64_t __uintmax_t;
-#define __INT8_C(c) (c)
-#define __INT16_C(c) (c)
-#define __INT32_C(c) (c)
-#define __INT64_C(c) (c ## LL)
-
-#define __UINT8_C(c) (c)
-#define __UINT16_C(c) (c)
-#define __UINT32_C(c) (c ## U)
-#define __UINT64_C(c) (c ## ULL)
-
-#define __INTMAX_C(c) (c ## LL)
-#define __UINTMAX_C(c) (c ## ULL)
-
/*
* mbstate_t is an opaque object to keep conversion state, during multibyte
* stream conversions. The content must not be referenced by user programs.
OpenPOWER on IntegriCloud