X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=ld%2Fldbuildid.h;h=7cb9d957dad84e9dd39c11f4798aa998ac7d0a1d;hb=43e05cd4f48b550023819d823fec02abf54e26d3;hp=e407b197f644a4174ca068f20ea870e8eb9feb84;hpb=b90efa5b79ac1524ec260f8eb89d1be37e0219a7;p=binutils-gdb.git diff --git a/ld/ldbuildid.h b/ld/ldbuildid.h index e407b197f64..7cb9d957dad 100644 --- a/ld/ldbuildid.h +++ b/ld/ldbuildid.h @@ -1,5 +1,5 @@ /* ldbuildid.h - - Copyright (C) 2013-2015 Free Software Foundation, Inc. + Copyright (C) 2013-2021 Free Software Foundation, Inc. This file is part of the GNU Binutils. @@ -21,7 +21,7 @@ #ifndef LDBUILDID_H #define LDBUILDID_H -extern bfd_boolean +extern bool validate_build_id_style (const char *); extern bfd_size_type @@ -29,11 +29,11 @@ compute_build_id_size (const char *); typedef void (*sum_fn) (const void *, size_t, void *); -typedef bfd_boolean (*checksum_fn) (bfd *, - void (*) (const void *, size_t, void *), - void *); +typedef bool (*checksum_fn) (bfd *, + void (*) (const void *, size_t, void *), + void *); -extern bfd_boolean +extern bool generate_build_id (bfd *, const char *, checksum_fn, unsigned char *, int); #endif /* LDBUILDID_H */