This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU libidn".
http://git.savannah.gnu.org/cgit/libidn.git/commit/?id=c83100d1a9884c6d78cd411b6ef0383eae95afe2 The branch, master has been updated via c83100d1a9884c6d78cd411b6ef0383eae95afe2 (commit) from d42c7be5b2905a75397fc64fee246b19ea4cb93b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit c83100d1a9884c6d78cd411b6ef0383eae95afe2 Author: Simon Josefsson <[email protected]> Date: Wed Oct 19 11:05:39 2011 +0200 idn-free.h: Protect prototypes with 'extern "C"' marker. Reported by Bittner Ede <[email protected]>. ----------------------------------------------------------------------- Summary of changes: NEWS | 3 +++ THANKS | 1 + lib/idn-free.h | 9 +++++++++ 3 files changed, 13 insertions(+), 0 deletions(-) diff --git a/NEWS b/NEWS index 3121bd5..748952d 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,9 @@ See the end for copying conditions. * Version 1.23 (unreleased) [?] +** idn-free.h: Protect prototypes with 'extern "C"' marker. +Reported by Bittner Ede <[email protected]>. + ** doc: Update link to experimental TLD tables. The new link is <https://github.com/gnuthor/tldchk>. diff --git a/THANKS b/THANKS index 635dce5..a230091 100644 --- a/THANKS +++ b/THANKS @@ -97,6 +97,7 @@ Waqas Hussain <[email protected]> Guido Trentalancia <[email protected]> Volker Grabsch <[email protected]> Olga Limburg <[email protected]> +Bittner Ede <[email protected]> ---------------------------------------------------------------------- Copying and distribution of this file, with or without modification, diff --git a/lib/idn-free.h b/lib/idn-free.h index 973cdd0..90f5d1b 100644 --- a/lib/idn-free.h +++ b/lib/idn-free.h @@ -36,6 +36,11 @@ # endif # endif +# ifdef __cplusplus +extern "C" +{ +# endif + /* I don't recommend using this interface in general. Use `free'. * * I'm told Microsoft Windows may use one set of `malloc' and `free' @@ -56,4 +61,8 @@ extern void IDNAPI idn_free (void *ptr); +# ifdef __cplusplus +} +# endif + #endif /* IDN_FREE_H */ hooks/post-receive -- GNU libidn _______________________________________________ Libidn-commit mailing list [email protected] https://lists.gnu.org/mailman/listinfo/libidn-commit
