summaryrefslogtreecommitdiffstats
path: root/src/parthumax.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2017-04-03 18:08:49 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2017-04-03 18:08:49 +0200
commita2736fe5ebd1e39a22ed32ac06177a2bc7d014ce (patch)
tree62bfd51077aa81cb13f021f1dcc16f7d7cb6b78d /src/parthumax.c
parent3a0f3c7fbf7c39452a5d756ddb591e54ff567867 (diff)
Use explicit function adresses
See MISRA C:2004, 16.9
Diffstat (limited to 'src/parthumax.c')
-rw-r--r--src/parthumax.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/parthumax.c b/src/parthumax.c
index 63625ec..9b4894e 100644
--- a/src/parthumax.c
+++ b/src/parthumax.c
@@ -77,20 +77,20 @@ arch_fnct_t arch_humax=
.part_name="Humax",
.part_name_option="partition_humax",
.msg_part_type=" P=Primary D=Deleted",
- .read_part=read_part_humax,
- .write_part=write_part_humax,
- .init_part_order=init_part_order_humax,
+ .read_part=&read_part_humax,
+ .write_part=&write_part_humax,
+ .init_part_order=&init_part_order_humax,
.get_geometry_from_mbr=NULL,
.check_part=NULL,
.write_MBR_code=NULL,
- .set_prev_status=set_next_status_humax,
- .set_next_status=set_next_status_humax,
- .test_structure=test_structure_humax,
- .get_part_type=get_part_type_humax,
+ .set_prev_status=&set_next_status_humax,
+ .set_next_status=&set_next_status_humax,
+ .test_structure=&test_structure_humax,
+ .get_part_type=&get_part_type_humax,
.set_part_type=NULL,
- .init_structure=init_structure_humax,
+ .init_structure=&init_structure_humax,
.erase_list_part=NULL,
- .get_partition_typename=get_partition_typename_humax,
+ .get_partition_typename=&get_partition_typename_humax,
.is_part_known=NULL
};