aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2023-06-27 11:55:38 -0700
committerIndu Bhagat <indu.bhagat@oracle.com>2023-06-27 12:01:56 -0700
commit49e4485cba2fa322a649b39c8a05dae8b421331d (patch)
tree9e2d27727724e7c7fca2a03ebf8977ac3ad8932c /include
parent100d405dae25ed30fd823ab78a7db59303494b6f (diff)
downloadbinutils-49e4485cba2fa322a649b39c8a05dae8b421331d.zip
binutils-49e4485cba2fa322a649b39c8a05dae8b421331d.tar.gz
binutils-49e4485cba2fa322a649b39c8a05dae8b421331d.tar.bz2
libsframe: bfd: use uint32_t for return type of sframe_calc_fre_type
Use uint32_t type alias consistently for all APIs in libsframe. bfd/ * elfxx-x86.c (_bfd_x86_elf_create_sframe_plt): Adjust for the changed return type. libsframe/ * sframe.c (sframe_calc_fre_type): Use uint32_t for return type. include/ * sframe-api.h (sframe_calc_fre_type): Likewise.
Diffstat (limited to 'include')
-rw-r--r--include/sframe-api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sframe-api.h b/include/sframe-api.h
index d04ebe8..70829ec 100644
--- a/include/sframe-api.h
+++ b/include/sframe-api.h
@@ -98,7 +98,7 @@ sframe_fde_create_func_info (uint32_t fre_type, uint32_t fde_type);
/* Gather the FRE type given the function size. */
-extern unsigned int
+extern uint32_t
sframe_calc_fre_type (size_t func_size);
/* The SFrame Decoder. */