aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@linux.intel.com>2011-04-14 00:59:12 +0100
committerMatt Fleming <matt.fleming@linux.intel.com>2011-04-26 09:54:11 +0100
commit8f10ba6d251ac05b54f183cb98bf5310a0675338 (patch)
tree83b242c3f6b95fdcaaa0b5481f7cdbd3b8a33f36 /com32/elflink
parent26ccd3fa29571209f4d57370296dfd94d1d00f5a (diff)
downloadsyslinux-8f10ba6d251ac05b54f183cb98bf5310a0675338.tar.gz
syslinux-8f10ba6d251ac05b54f183cb98bf5310a0675338.tar.xz
syslinux-8f10ba6d251ac05b54f183cb98bf5310a0675338.zip
elflink: Delete core-elf.h
This header file really just duplicates code that is available in other header files. It has no reason to exist. Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Diffstat (limited to 'com32/elflink')
-rw-r--r--com32/elflink/ldlinux/cli.c1
-rw-r--r--com32/elflink/ldlinux/colors.c1
-rw-r--r--com32/elflink/ldlinux/execute.c7
-rw-r--r--com32/elflink/ldlinux/kernel.c1
-rw-r--r--com32/elflink/ldlinux/ldlinux.c1
-rw-r--r--com32/elflink/ldlinux/readconfig.c1
6 files changed, 1 insertions, 11 deletions
diff --git a/com32/elflink/ldlinux/cli.c b/com32/elflink/ldlinux/cli.c
index 3026cac2..4749ddad 100644
--- a/com32/elflink/ldlinux/cli.c
+++ b/com32/elflink/ldlinux/cli.c
@@ -12,7 +12,6 @@
#include <linux/list.h>
#include <sys/exec.h>
#include <sys/module.h>
-#include <core-elf.h>
#include <dprintf.h>
#include "getkey.h"
diff --git a/com32/elflink/ldlinux/colors.c b/com32/elflink/ldlinux/colors.c
index c1ef3904..68732bdb 100644
--- a/com32/elflink/ldlinux/colors.c
+++ b/com32/elflink/ldlinux/colors.c
@@ -14,7 +14,6 @@
#include <string.h>
#include <stdio.h>
#include <colortbl.h>
-#include <core-elf.h>
#include "menu.h"
/*
diff --git a/com32/elflink/ldlinux/execute.c b/com32/elflink/ldlinux/execute.c
index f67d707b..a00a5b16 100644
--- a/com32/elflink/ldlinux/execute.c
+++ b/com32/elflink/ldlinux/execute.c
@@ -18,7 +18,7 @@
#include <com32.h>
#include <sys/exec.h>
#include "core.h"
-#include "core-elf.h"
+#include "menu.h"
/* Must match enum kernel_type */
const char *const kernel_types[] = {
@@ -36,11 +36,6 @@ const char *const kernel_types[] = {
NULL
};
-static inline int my_isspace(char c)
-{
- return (unsigned char)c <= ' ';
-}
-
void execute(const char *cmdline, enum kernel_type type)
{
const char *p, *const *pp;
diff --git a/com32/elflink/ldlinux/kernel.c b/com32/elflink/ldlinux/kernel.c
index 3ce2358d..2438d116 100644
--- a/com32/elflink/ldlinux/kernel.c
+++ b/com32/elflink/ldlinux/kernel.c
@@ -8,7 +8,6 @@
#include <syslinux/linux.h>
#include <syslinux/pxe.h>
#include "core.h"
-#include "core-elf.h"
const char *globaldefault = NULL;
const char *append = NULL;
diff --git a/com32/elflink/ldlinux/ldlinux.c b/com32/elflink/ldlinux/ldlinux.c
index 5f4b058b..9ba1aeb4 100644
--- a/com32/elflink/ldlinux/ldlinux.c
+++ b/com32/elflink/ldlinux/ldlinux.c
@@ -2,7 +2,6 @@
#include <sys/times.h>
#include <stdbool.h>
#include <core.h>
-#include <core-elf.h>
#include "cli.h"
#include "console.h"
#include "com32.h"
diff --git a/com32/elflink/ldlinux/readconfig.c b/com32/elflink/ldlinux/readconfig.c
index d78c0151..441651ed 100644
--- a/com32/elflink/ldlinux/readconfig.c
+++ b/com32/elflink/ldlinux/readconfig.c
@@ -22,7 +22,6 @@
#include <com32.h>
#include <syslinux/adv.h>
#include <syslinux/config.h>
-#include <core-elf.h>
#include <dprintf.h>
#include "menu.h"