X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=src%2Fmodel%2FtoFile.c;h=0bfbd004468a6ef3f28cc8663f74d0a7ebd81a27;hb=9b3f4d15112365dbda20c668d0d57a74bd05e60c;hp=399c25b6131fad0d7a285272fa1b68e0f5a7f208;hpb=6e4cbafe0876ff14ff03a14ab80951167ef67e06;p=centaur.git diff --git a/src/model/toFile.c b/src/model/toFile.c index 399c25b..0bfbd00 100644 --- a/src/model/toFile.c +++ b/src/model/toFile.c @@ -1,14 +1,12 @@ #include #include - #include #include - #include -static void elfu_modelToPhdrs(ElfuElf *me, Elf *e) +static void modelToPhdrs(ElfuElf *me, Elf *e) { ElfuPhdr *mp; size_t i; @@ -36,7 +34,7 @@ static void elfu_modelToPhdrs(ElfuElf *me, Elf *e) -static void elfu_modelToSection(ElfuScn *ms, Elf *e) +static void modelToSection(ElfuScn *ms, Elf *e) { Elf_Scn *scnOut; @@ -74,7 +72,7 @@ static void elfu_modelToSection(ElfuScn *ms, Elf *e) -void elfu_modelToElf(ElfuElf *me, Elf *e) +void elfu_mToElf(ElfuElf *me, Elf *e) { ElfuScn *ms; @@ -95,12 +93,12 @@ void elfu_modelToElf(ElfuElf *me, Elf *e) /* Sections */ CIRCLEQ_FOREACH(ms, &me->scnList, elem) { - elfu_modelToSection(ms, e); + modelToSection(ms, e); } /* PHDRs */ - elfu_modelToPhdrs(me, e); + modelToPhdrs(me, e); elf_flagelf(e, ELF_C_SET, ELF_F_DIRTY);