X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=ld%2Fldbuildid.h;h=7cb9d957dad84e9dd39c11f4798aa998ac7d0a1d;hb=d94297b3f49923c665fe45eaf3df1614b026d8ee;hp=1a8682edf7bfaeda4072a8ab6821aa138f25351f;hpb=219d1afa89d0d53ca93a684cac341f16470f3ca0;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ldbuildid.h b/ld/ldbuildid.h index 1a8682edf7..7cb9d957da 100644 --- a/ld/ldbuildid.h +++ b/ld/ldbuildid.h @@ -1,5 +1,5 @@ /* ldbuildid.h - - Copyright (C) 2013-2018 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 */