diff options
author | norly <ny-git@enpas.org> | 2013-06-17 23:34:30 +0100 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2013-06-17 23:39:12 +0100 |
commit | f88e1ad7d9db8a41abecc795200f21138af65c74 (patch) | |
tree | dc17e6153ae6ee4678b39f365f8c9d9b28bdde43 /src/modelops/toFile.c | |
parent | 150d0c42d423fe49304d648e2c19ff08f6c2e0ad (diff) |
C90 compliance, except variadic macros and TODOs
Also removed a lot of dead code from the early days.
Diffstat (limited to 'src/modelops/toFile.c')
-rw-r--r-- | src/modelops/toFile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modelops/toFile.c b/src/modelops/toFile.c index 1fec8b0..368f12a 100644 --- a/src/modelops/toFile.c +++ b/src/modelops/toFile.c @@ -34,10 +34,10 @@ static void modelToPhdrs(ElfuElf *me, Elf *e) static void* modelToSection(ElfuElf *me, ElfuScn *ms, void *aux1, void *aux2) { + Elf_Scn *scnOut; + Elf *e = (Elf*)aux1; (void) me; (void) aux2; - Elf *e = (Elf*)aux1; - Elf_Scn *scnOut; scnOut = elf_newscn(e); if (!scnOut) { |