elf: do not use nested functions
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 30 May 2019 22:26:47 +0000 (18:26 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 30 May 2019 22:26:47 +0000 (18:26 -0400)
commit15e3aa6bb2fd0ce95ec564e598411b52550f94e5
treedc7e3903e0d8b299d2c42921537b0f2d8d5b007f
parent31a0e2677e83614274ac7227f90f019725803dc3
elf: do not use nested functions

There's no reason to use it, and all it does is make the code harder to
follow.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/elf.c