[binutils-gdb] Correct hpux-core.c thread_section_p signature

Alan Modra amodra@sourceware.org
Sun Dec 1 13:39:37 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1959d2a1baed120a1ce87a01026f7753936cd6e7

commit 1959d2a1baed120a1ce87a01026f7753936cd6e7
Author: Alan Modra <amodra@gmail.com>
Date:   Sun Dec 1 20:11:30 2024 +1030

    Correct hpux-core.c thread_section_p signature
    
    Fix fallout from commit 0a1b45a20eaa.

Diff:
---
 bfd/hpux-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bfd/hpux-core.c b/bfd/hpux-core.c
index 18516e3a897..1b2f0809369 100644
--- a/bfd/hpux-core.c
+++ b/bfd/hpux-core.c
@@ -128,7 +128,7 @@ make_bfd_asection (bfd *abfd, const char *name, flagword flags,
 /* Return true if the given core file section corresponds to a thread,
    based on its name.  */
 
-static int
+static bool
 thread_section_p (bfd *abfd ATTRIBUTE_UNUSED,
 		  asection *sect,
 		  void *obj ATTRIBUTE_UNUSED)


More information about the Binutils-cvs mailing list