diff options
author | Stefan Bucur <stefanb@zytor.com> | 2008-08-16 17:10:49 +0300 |
---|---|---|
committer | Stefan Bucur <stefan@stefan-ubumac.(none)> | 2009-03-15 10:12:28 +0200 |
commit | 2694d23aff4e41bafdfa6bd9b572746abf845194 (patch) | |
tree | 97a3f09c23233bcc4170fd320d2dea86694e76a5 | |
parent | d14cf8687310bd065b024e13b7d0b6159f652cc3 (diff) | |
download | syslinux-elf-2694d23aff4e41bafdfa6bd9b572746abf845194.tar.gz syslinux-elf-2694d23aff4e41bafdfa6bd9b572746abf845194.tar.xz syslinux-elf-2694d23aff4e41bafdfa6bd9b572746abf845194.zip |
Moved the elfutils.h header in a private location.
-rw-r--r-- | com32/lib/sys/module/common.c | 3 | ||||
-rw-r--r-- | com32/lib/sys/module/common.h | 4 | ||||
-rw-r--r-- | com32/lib/sys/module/elf_module.c | 2 | ||||
-rw-r--r-- | com32/lib/sys/module/elfutils.c | 2 | ||||
-rw-r--r-- | com32/lib/sys/module/elfutils.h (renamed from com32/include/sys/elfutils.h) | 0 | ||||
-rw-r--r-- | com32/lib/sys/module/shallow_module.c | 6 |
6 files changed, 9 insertions, 8 deletions
diff --git a/com32/lib/sys/module/common.c b/com32/lib/sys/module/common.c index 387dc1a3..01cbe692 100644 --- a/com32/lib/sys/module/common.c +++ b/com32/lib/sys/module/common.c @@ -10,10 +10,9 @@ #include <string.h> #include <linux/list.h> - #include <sys/module.h> -#include <sys/elfutils.h> +#include "elfutils.h" #include "common.h" /** diff --git a/com32/lib/sys/module/common.h b/com32/lib/sys/module/common.h index 8aafe513..bcbffdf1 100644 --- a/com32/lib/sys/module/common.h +++ b/com32/lib/sys/module/common.h @@ -11,10 +11,10 @@ #include <stdio.h> #include <sys/module.h> -#include <sys/elfutils.h> - #include <linux/list.h> +#include "elfutils.h" + // Performs an operation and jumps to a given label if an error occurs #define CHECKED(res, expr, error) \ diff --git a/com32/lib/sys/module/elf_module.c b/com32/lib/sys/module/elf_module.c index ba535f45..4b1f2bbd 100644 --- a/com32/lib/sys/module/elf_module.c +++ b/com32/lib/sys/module/elf_module.c @@ -13,8 +13,8 @@ #include <linux/list.h> #include <sys/module.h> -#include <sys/elfutils.h> +#include "elfutils.h" #include "common.h" diff --git a/com32/lib/sys/module/elfutils.c b/com32/lib/sys/module/elfutils.c index ce781a08..0e653171 100644 --- a/com32/lib/sys/module/elfutils.c +++ b/com32/lib/sys/module/elfutils.c @@ -1,7 +1,7 @@ #include <stdlib.h> #include <errno.h> -#include <sys/elfutils.h> +#include "elfutils.h" unsigned long elf_hash(const unsigned char *name) { unsigned long h = 0; diff --git a/com32/include/sys/elfutils.h b/com32/lib/sys/module/elfutils.h index b8df660e..b8df660e 100644 --- a/com32/include/sys/elfutils.h +++ b/com32/lib/sys/module/elfutils.h diff --git a/com32/lib/sys/module/shallow_module.c b/com32/lib/sys/module/shallow_module.c index 64e2679b..f198c0db 100644 --- a/com32/lib/sys/module/shallow_module.c +++ b/com32/lib/sys/module/shallow_module.c @@ -5,10 +5,12 @@ * Author: Stefan Bucur <stefanb@zytor.com> */ -#include "common.h" + #include <sys/module.h> -#include <sys/elfutils.h> + +#include "common.h" +#include "elfutils.h" static int check_header_shallow(Elf32_Ehdr *elf_hdr) { |