diff options
author | norly <ny-git@enpas.org> | 2013-06-03 02:06:44 +0100 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2013-06-03 02:06:44 +0100 |
commit | f65740be4063729db219dff54ea2cbe60038f0cc (patch) | |
tree | ddc6632d8e675106de489958a9570b661233514b /src | |
parent | 3afdca277b88f6b1ae9da81fe704a6a3844106d6 (diff) |
Simplify includes
Diffstat (limited to 'src')
-rw-r--r-- | src/elfhandle.c | 3 | ||||
-rw-r--r-- | src/elfops/check.c | 2 | ||||
-rw-r--r-- | src/elfops/phdr-fixup-selfref.c | 5 | ||||
-rw-r--r-- | src/elfops/section-by-name.c | 4 | ||||
-rw-r--r-- | src/elfops/section-in-segment.c | 4 | ||||
-rw-r--r-- | src/elfops/section-name.c | 4 | ||||
-rw-r--r-- | src/main.c | 4 | ||||
-rw-r--r-- | src/model/fromFile.c | 2 | ||||
-rw-r--r-- | src/model/reladd.c | 1 | ||||
-rw-r--r-- | src/model/section.c | 2 | ||||
-rw-r--r-- | src/model/toFile.c | 2 |
11 files changed, 2 insertions, 31 deletions
diff --git a/src/elfhandle.c b/src/elfhandle.c index 47f9820..c90bff2 100644 --- a/src/elfhandle.c +++ b/src/elfhandle.c @@ -5,8 +5,7 @@ #include <stdio.h> #include <string.h> #include <unistd.h> - -#include <libelf/libelf.h> +#include <libelf.h> #include "elfhandle.h" diff --git a/src/elfops/check.c b/src/elfops/check.c index be8704b..2c7f040 100644 --- a/src/elfops/check.c +++ b/src/elfops/check.c @@ -1,7 +1,5 @@ #include <assert.h> #include <stdlib.h> -#include <libelf/libelf.h> -#include <libelf/gelf.h> #include <libelfu/libelfu.h> int elfu_eCheck(Elf *e) diff --git a/src/elfops/phdr-fixup-selfref.c b/src/elfops/phdr-fixup-selfref.c index 0182844..c961ceb 100644 --- a/src/elfops/phdr-fixup-selfref.c +++ b/src/elfops/phdr-fixup-selfref.c @@ -1,7 +1,4 @@ -#include <libelf/libelf.h> -#include <libelf/gelf.h> - -#include <libelfu/debug.h> +#include <libelfu/libelfu.h> void elfu_ePhdrFixupSelfRef(Elf *e) diff --git a/src/elfops/section-by-name.c b/src/elfops/section-by-name.c index 38a9dd1..8bb93a3 100644 --- a/src/elfops/section-by-name.c +++ b/src/elfops/section-by-name.c @@ -1,8 +1,4 @@ #include <string.h> - -#include <libelf/libelf.h> -#include <libelf/gelf.h> - #include <libelfu/libelfu.h> diff --git a/src/elfops/section-in-segment.c b/src/elfops/section-in-segment.c index 76a997d..7e6206b 100644 --- a/src/elfops/section-in-segment.c +++ b/src/elfops/section-in-segment.c @@ -1,8 +1,4 @@ #include <stdlib.h> - -#include <libelf/libelf.h> -#include <libelf/gelf.h> - #include <libelfu/libelfu.h> diff --git a/src/elfops/section-name.c b/src/elfops/section-name.c index 9cd44f7..4832db9 100644 --- a/src/elfops/section-name.c +++ b/src/elfops/section-name.c @@ -1,8 +1,4 @@ #include <stdlib.h> - -#include <libelf/libelf.h> -#include <libelf/gelf.h> - #include <libelfu/libelfu.h> @@ -1,10 +1,6 @@ #include <stdio.h> #include <stdlib.h> - #include <getopt.h> -#include <libelf/libelf.h> -#include <libelf/gelf.h> - #include <libelfu/libelfu.h> #include "elfhandle.h" diff --git a/src/model/fromFile.c b/src/model/fromFile.c index 7b8bfd3..11a7fb5 100644 --- a/src/model/fromFile.c +++ b/src/model/fromFile.c @@ -2,8 +2,6 @@ #include <stdlib.h> #include <string.h> #include <sys/types.h> -#include <libelf/libelf.h> -#include <libelf/gelf.h> #include <libelfu/libelfu.h> diff --git a/src/model/reladd.c b/src/model/reladd.c index 632c7c3..665f20a 100644 --- a/src/model/reladd.c +++ b/src/model/reladd.c @@ -2,7 +2,6 @@ #include <stdlib.h> #include <string.h> #include <sys/types.h> -#include <libelf/gelf.h> #include <libelfu/libelfu.h> diff --git a/src/model/section.c b/src/model/section.c index d7ddc19..4b8b230 100644 --- a/src/model/section.c +++ b/src/model/section.c @@ -1,7 +1,5 @@ #include <assert.h> #include <stdlib.h> -#include <libelf/libelf.h> -#include <libelf/gelf.h> #include <libelfu/libelfu.h> diff --git a/src/model/toFile.c b/src/model/toFile.c index 9410f13..eaf6ce5 100644 --- a/src/model/toFile.c +++ b/src/model/toFile.c @@ -1,6 +1,4 @@ #include <stdlib.h> -#include <libelf/libelf.h> -#include <libelf/gelf.h> #include <libelfu/libelfu.h> |