elfcreator: elfcreator_copy_scn() doesn't need the 'elf' arg
Not used at all, remove it.
Cc: Peter Jones <pjones@redhat.com>
Fixes: 29ef465cd8
("Add scncopy - like object copy but tries not to change section content")
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
3925a5bd53
commit
7a8e75cd9a
@ -108,7 +108,7 @@ static void update_dyn_cache(ElfCreator *ctor)
|
||||
ctor->dyndata = elf_getdata(ctor->dynscn, NULL);
|
||||
}
|
||||
|
||||
void elfcreator_copy_scn(ElfCreator *ctor, Elf *src, Elf_Scn *scn)
|
||||
void elfcreator_copy_scn(ElfCreator *ctor, Elf_Scn *scn)
|
||||
{
|
||||
Elf_Scn *newscn;
|
||||
Elf_Data *indata, *outdata;
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
typedef struct elf_creator ElfCreator;
|
||||
extern ElfCreator *elfcreator_begin(char *path, Elf *elf);
|
||||
extern void elfcreator_copy_scn(ElfCreator *ctor, Elf *src, Elf_Scn *scn);
|
||||
extern void elfcreator_copy_scn(ElfCreator *ctor, Elf_Scn *scn);
|
||||
extern void elfcreator_end(ElfCreator *ctor);
|
||||
|
||||
#endif /* ELFCREATOR_H */
|
||||
|
Loading…
Reference in New Issue
Block a user