public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Add RTEMS-specific types for BSD compatibility
@ 2016-04-20 8:51 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2016-04-20 8:51 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8b6fc833307a635cff7139a65e2acaeea495d338
commit 8b6fc833307a635cff7139a65e2acaeea495d338
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date: Mon Apr 18 15:29:26 2016 +0200
Add RTEMS-specific types for BSD compatibility
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diff:
---
newlib/libc/sys/rtems/include/machine/_types.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/newlib/libc/sys/rtems/include/machine/_types.h b/newlib/libc/sys/rtems/include/machine/_types.h
index ed09206..e5dece0 100644
--- a/newlib/libc/sys/rtems/include/machine/_types.h
+++ b/newlib/libc/sys/rtems/include/machine/_types.h
@@ -28,4 +28,10 @@ typedef unsigned long __ino_t;
typedef __uint32_t __mode_t;
#define __machine_mode_t_defined
+#ifdef _KERNEL
+typedef int boolean_t;
+typedef struct device *device_t;
+typedef char vm_memattr_t; /* memory attribute codes */
+#endif /* _KERNEL */
+
#endif /* _MACHINE__TYPES_H */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-20 8:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-20 8:51 [newlib-cygwin] Add RTEMS-specific types for BSD compatibility Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).