summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2013-05-28 18:22:31 +0100
committernorly <ny-git@enpas.org>2013-05-28 18:22:31 +0100
commit11bf2836351cdb0703506d9d24ebd72bb420d1df (patch)
treea5104d0480090eeb90b96f565ff4b54686205c4c /src/main.c
parentd4d9322d7cf4d157602293e20a67961339224b6d (diff)
Remove old and ugly printing functions
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/main.c b/src/main.c
index 1672ab4..0eb6e00 100644
--- a/src/main.c
+++ b/src/main.c
@@ -38,22 +38,7 @@ int main(int argc, char **argv)
}
- /* Now that we have a (hopefully) sane environment, execute commands.
- * Printing will have to be reimplemented based on the memory model.
- */
- if (opts.printHeader) {
- printHeader(hIn.e);
- }
-
- if (opts.printSegments) {
- printSegments(hIn.e);
- }
-
- if (opts.printSections) {
- printSections(hIn.e);
- }
-
-
+ /* Now that we have a (hopefully) sane environment, execute commands. */
me = elfu_mFromElf(hIn.e);
if (me) {
closeElf(&hIn);