From fa22b4823aab053f0500b117527fa910db70277a Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 22 Nov 2015 14:13:56 -0500 Subject: driver integration 6/9: image map & meta logic: API changes (fd,free,ret). --- include/perk/perk.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/perk/perk.h b/include/perk/perk.h index 22f7bd5..f05ae89 100644 --- a/include/perk/perk.h +++ b/include/perk/perk.h @@ -151,10 +151,10 @@ struct pe_unit_ctx { /* driver api */ perk_api int pe_get_driver_ctx (const char ** argv, const char ** envp, uint32_t flags, struct pe_driver_ctx **); -perk_api int pe_free_driver_ctx (struct pe_driver_ctx *); +perk_api void pe_free_driver_ctx (struct pe_driver_ctx *); perk_api int pe_get_unit_ctx (struct pe_driver_ctx *, const char * name, struct pe_unit_ctx **); -perk_api int pe_free_unit_ctx (struct pe_unit_ctx *); +perk_api void pe_free_unit_ctx (struct pe_unit_ctx *); /* utility api */ perk_api int pe_output_export_symbols (const struct pe_image_meta *, const struct pe_common_ctx *, FILE *); @@ -164,7 +164,7 @@ perk_api int pe_map_raw_image (int fd, const char * name, int prot, struct pe_r perk_api int pe_unmap_raw_image (struct pe_raw_image *); perk_api int pe_get_image_meta (const struct pe_raw_image *, struct pe_image_meta **); -perk_api int pe_free_image_meta (struct pe_image_meta *); +perk_api void pe_free_image_meta (struct pe_image_meta *); perk_api int pe_get_named_section_index (const struct pe_image_meta *, const char * name); perk_api int pe_get_block_section_index (const struct pe_image_meta *, const struct pe_block *); -- cgit v1.2.3