Rename func

This commit is contained in:
Alex Kotov 2023-01-05 15:31:02 +04:00
parent 7d07f38840
commit f5571c012b
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
4 changed files with 7 additions and 6 deletions

View File

@ -4,7 +4,8 @@
changed.
* include/kernaux/multiboot2.h: The function
"KernAux_Multiboot2_Info_to_memmap_builder" has been renamed to
"KernAux_Multiboot2_Info_to_memmap", it's signature has been changed.
"KernAux_Multiboot2_Info_build_memmap_from_memmap", it's signature has been
changed.
2022-12-27 Alex Kotov <kotovalexarian@gmail.com>

View File

@ -565,7 +565,7 @@ KERNAUX_STATIC_TEST_STRUCT_SIZE(
* Other functions *
*******************/
bool KernAux_Multiboot2_Info_to_memmap(
bool KernAux_Multiboot2_Info_build_memmap_from_memmap(
const struct KernAux_Multiboot2_Info *multiboot2_info,
KernAux_Memmap_Builder builder
);

View File

@ -12,7 +12,7 @@
#include <stddef.h>
#ifdef WITH_MEMMAP
bool KernAux_Multiboot2_Info_to_memmap(
bool KernAux_Multiboot2_Info_build_memmap_from_memmap(
const struct KernAux_Multiboot2_Info *const multiboot2_info,
const KernAux_Memmap_Builder builder
) {

View File

@ -29,7 +29,7 @@ void test_main()
KernAux_Memmap_Builder_new(&malloc.malloc);
assert(builder != NULL);
const bool result = KernAux_Multiboot2_Info_to_memmap(
const bool result = KernAux_Multiboot2_Info_build_memmap_from_memmap(
&multiboot2_info_example0.multiboot2_info,
builder
);
@ -41,7 +41,7 @@ void test_main()
KernAux_Memmap_Builder_new(&malloc.malloc);
assert(builder != NULL);
const bool result = KernAux_Multiboot2_Info_to_memmap(
const bool result = KernAux_Multiboot2_Info_build_memmap_from_memmap(
(const struct KernAux_Multiboot2_Info*)
&multiboot2_info_example1,
builder
@ -62,7 +62,7 @@ void test_main()
KernAux_Memmap_Builder_new(&malloc.malloc);
assert(builder != NULL);
const bool result = KernAux_Multiboot2_Info_to_memmap(
const bool result = KernAux_Multiboot2_Info_build_memmap_from_memmap(
&multiboot2_info_example2.multiboot2_info,
builder
);