diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-02-25 12:40:49 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-02-25 12:40:49 -0600 |
commit | 72ed2003913a3439b5e4d5f4424fa2b89c355cea (patch) | |
tree | b8e522e008e94d94ec48395d1e43b1c21663fe79 /nuttx/include/stddef.h | |
parent | 40d5996ebeeae1061a84cf15185a6ee4d6ed30c6 (diff) | |
download | px4-nuttx-72ed2003913a3439b5e4d5f4424fa2b89c355cea.tar.gz px4-nuttx-72ed2003913a3439b5e4d5f4424fa2b89c355cea.tar.bz2 px4-nuttx-72ed2003913a3439b5e4d5f4424fa2b89c355cea.zip |
prtdiff_t: Defined in both stddef and sys/types
Diffstat (limited to 'nuttx/include/stddef.h')
-rw-r--r-- | nuttx/include/stddef.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/nuttx/include/stddef.h b/nuttx/include/stddef.h index 6e24fbd7c..ecc5eb94c 100644 --- a/nuttx/include/stddef.h +++ b/nuttx/include/stddef.h @@ -75,9 +75,6 @@ * ptrdiff_t * Signed integer type of the result of subtracting two pointers. * - * NOTE: This type assumes that ssize_t will cover the largest address - * difference. This might not be true of CONFIG_MM_SMALL is defined. - * * wchar_t * Integer type whose range of values can represent distinct wide-character * codes for all members of the largest character set specified among the @@ -89,7 +86,7 @@ * size_t * Unsigned integer type of the result of the sizeof operator. * - * NOTE: Currently the type definitions of both wchar_t and size_t are + * NOTE: Currently the type definitions of ptrdiff_t, wchar_t, and size_t are * in sys/types.h but should be moved here sometime. * * The implementation shall support one or more programming environments in @@ -100,6 +97,4 @@ * Reference: Opengroup.org */ -typedef ssize_t ptrdiff_t; - #endif /* __INCLUDE_STDDEF_H */ |