aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2015-08-28 07:39:30 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-28 07:39:30 -0700
commit7445cef42f52e15de800207e8b14a3b24f444148 (patch)
tree45decda400f29c2e79ab35527bf46023bf274f76 /include/core
parentd02b99f106702bc739d3aa4e3c21f8a0618cbb51 (diff)
Remove sys/types.h include from SkTypes.h.
It appears this was added to support SkToOffT, but SkToOffT is no longer used, so it is removed as well. Review URL: https://codereview.chromium.org/1306963004
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkTypes.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h
index 45a5a8a376..c128e48fef 100644
--- a/include/core/SkTypes.h
+++ b/include/core/SkTypes.h
@@ -14,7 +14,6 @@
#include "SkPostConfig.h"
#include <stddef.h>
#include <stdint.h>
-#include <sys/types.h>
#if defined(SK_ARM_HAS_NEON)
#include <arm_neon.h>
@@ -243,7 +242,6 @@ typedef uint8_t SkBool8;
SK_API int SkToInt(intmax_t);
SK_API unsigned SkToUInt(uintmax_t);
SK_API size_t SkToSizeT(uintmax_t);
- SK_API off_t SkToOffT(intmax_t x);
#else
#define SkToS8(x) ((int8_t)(x))
#define SkToU8(x) ((uint8_t)(x))
@@ -254,7 +252,6 @@ typedef uint8_t SkBool8;
#define SkToInt(x) ((int)(x))
#define SkToUInt(x) ((unsigned)(x))
#define SkToSizeT(x) ((size_t)(x))
- #define SkToOffT(x) ((off_t)(x))
#endif
/** Returns 0 or 1 based on the condition