This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH RFC: Add sha1 to libiberty


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]