public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Joel Sherrill <joel@rtems.org>
To: newlib@sourceware.org
Cc: Joel Sherrill <joel@rtems.org>
Subject: [PATCH 1/2] newlib/libc/include/devctl.h: Add extern C
Date: Thu, 13 Feb 2020 14:00:00 -0000	[thread overview]
Message-ID: <1581602422-12101-1-git-send-email-joel@rtems.org> (raw)

---
 newlib/libc/include/devctl.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/newlib/libc/include/devctl.h b/newlib/libc/include/devctl.h
index fd3409f..889693e 100644
--- a/newlib/libc/include/devctl.h
+++ b/newlib/libc/include/devctl.h
@@ -35,6 +35,10 @@
 
 #include <sys/cdefs.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #if defined(__rtems__)
 /*
  * The FACE Technical Standard, Edition 3.0 and later require the
@@ -67,4 +71,8 @@ int posix_devctl(
 );
 #endif
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif
-- 
1.8.3.1

             reply	other threads:[~2020-02-13 14:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-13 14:00 Joel Sherrill [this message]
2020-02-13 14:00 ` [PATCH 2/2] x86_64/i386 fenv: Replace symlink with include fenv_stub.c Joel Sherrill

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=1581602422-12101-1-git-send-email-joel@rtems.org \
    --to=joel@rtems.org \
    --cc=newlib@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: link
Be 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).