This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH RFC: Add sha1 to libiberty
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Ian Lance Taylor" <iant at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 24 Mar 2008 16:55:42 -0700
- Subject: Re: PATCH RFC: Add sha1 to libiberty
- References: <m3iqzbfzni.fsf@google.com>
On Mon, Mar 24, 2008 at 4:52 PM, Ian Lance Taylor <iant@google.com> wrote:
> I plan to shortly commit this patch to add sha1 to libiberty. I'm
> doing this for the GNU binutils, in order to use sha1 in gold.
> Currently ld has its copy of sha1.h and sha1.c; putting it in
> libiberty will permit ld and gold to share it.
This also has the same issue as the md5.h patch:
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+# include <stdio.h>
Thanks,
Andrew Pinski