summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-10-15 17:38:32 +0000
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-10-15 17:38:32 +0000
commit8635dec1a5ecd0bc18ea7d175b5edcd7ef622b6c (patch)
treef22fe8845fef2af32cc22cf3444bf64d4dbc31cf /newlib/libc/include
parent0351747c1393e30009353feac214fd2ed6ef4055 (diff)
downloadcygnal-8635dec1a5ecd0bc18ea7d175b5edcd7ef622b6c.tar.gz
cygnal-8635dec1a5ecd0bc18ea7d175b5edcd7ef622b6c.tar.bz2
cygnal-8635dec1a5ecd0bc18ea7d175b5edcd7ef622b6c.zip
2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libc/sys/rtems/machine/_types.h (__dev_t): Define. (__dev_t_defined) Likewise. * libc/include/sys/_types.h (__dev_t): Delete RTEMS specific definition.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r--newlib/libc/include/sys/_types.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/newlib/libc/include/sys/_types.h b/newlib/libc/include/sys/_types.h
index e8ac429e7..07bc27675 100644
--- a/newlib/libc/include/sys/_types.h
+++ b/newlib/libc/include/sys/_types.h
@@ -16,14 +16,9 @@
typedef long _off_t;
#endif
-#if defined(__rtems__)
-/* device numbers are 32-bit major and and 32-bit minor */
-typedef unsigned long long __dev_t;
-#else
#ifndef __dev_t_defined
typedef short __dev_t;
#endif
-#endif
#ifndef __uid_t_defined
typedef unsigned short __uid_t;