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
"Andrew Pinski" <pinskia@gmail.com> writes:
> 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>
Yes, thanks.
I also see that md5.h has a different way of getting a 32-bit unsigned
type, so I'm going to copy that.
Ian