public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Add RTEMS-specific types for BSD compatibility Date: Wed, 20 Apr 2016 08:51:00 -0000 [thread overview] Message-ID: <20160420085126.16068.qmail@sourceware.org> (raw) 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 */
reply other threads:[~2016-04-20 8:51 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20160420085126.16068.qmail@sourceware.org \ --to=corinna@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).