From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] [PATCH lttng-tools] Add extern C to the health-check header
Date: Fri, 7 Feb 2014 03:54:26 +0000 (UTC) [thread overview]
Message-ID: <1517472420.20400.1391745266954.JavaMail.zimbra@efficios.com> (raw)
In-Reply-To: <1391714036-14376-1-git-send-email-jeremie.galarneau@efficios.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Thanks,
Mathieu
----- Original Message -----
> From: "J?r?mie Galarneau" <jeremie.galarneau@efficios.com>
> To: lttng-dev at lists.lttng.org
> Sent: Thursday, February 6, 2014 2:13:56 PM
> Subject: [lttng-dev] [PATCH lttng-tools] Add extern C to the health-check header
>
> This makes it possible to include health.h in a C++ program.
>
> Signed-off-by: J?r?mie Galarneau <jeremie.galarneau at efficios.com>
> ---
> include/lttng/health.h | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/include/lttng/health.h b/include/lttng/health.h
> index 9960928..9a7a7fc 100644
> --- a/include/lttng/health.h
> +++ b/include/lttng/health.h
> @@ -19,6 +19,10 @@
> * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
> */
>
> +#ifdef __cplusplus
> +extern "C" {
> +#endif
> +
> struct lttng_health;
> struct lttng_health_thread;
>
> @@ -124,4 +128,8 @@ int lttng_health_thread_state(const struct
> lttng_health_thread *thread);
> */
> const char *lttng_health_thread_name(const struct lttng_health_thread
> *thread);
>
> +#ifdef __cplusplus
> +}
> +#endif
> +
> #endif /* LTTNG_HEALTH_H */
> --
> 1.8.5.2
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
next prev parent reply other threads:[~2014-02-07 3:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-06 19:13 Jérémie Galarneau
2014-02-07 3:54 ` Mathieu Desnoyers [this message]
2014-02-07 15:16 ` David Goulet
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=1517472420.20400.1391745266954.JavaMail.zimbra@efficios.com \
--to=mathieu.desnoyers@efficios.com \
/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