aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2009-06-03 10:09:28 +0100
committerMichael Brown <mcb30@etherboot.org>2009-06-03 10:09:28 +0100
commit5e51aaccaa73d5f6c4e3e5b96938991ac99d1dd6 (patch)
tree55e9bd5719f7bd60e95c0cd0cd32f8a6fbbcc7cc
parenta5cd8d1772839f32274fe7dbf9bb502aa74e9360 (diff)
downloadipxe-5e51aaccaa73d5f6c4e3e5b96938991ac99d1dd6.tar.gz
[misc] Remove long-obsolete header files dating from Etherboot 5.4
-rw-r--r--src/include/debug.h28
-rw-r--r--src/include/lib.h42
2 files changed, 0 insertions, 70 deletions
diff --git a/src/include/debug.h b/src/include/debug.h
deleted file mode 100644
index bb5d33f3c..000000000
--- a/src/include/debug.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef DEBUG_H
-#define DEBUG_H
-
-//#include <lib.h>
-extern int last_putchar;
-
-/* Defining DEBUG_THIS before including this file enables debug() macro
- * for the file. DEBUG_ALL is for global control. */
-
-#if DEBUG_THIS || DEBUG_ALL
-#define DEBUG 1
-#else
-#undef DEBUG
-#endif
-
-#if DEBUG
-# define debug(...) \
- ((last_putchar=='\n' ? printf("%s: ", __FUNCTION__) : 0), \
- printf(__VA_ARGS__))
-# define debug_hexdump hexdump
-#else
-# define debug(...) /* nothing */
-# define debug_hexdump(...) /* nothing */
-#endif
-
-#define debugx debug
-
-#endif /* DEBUG_H */
diff --git a/src/include/lib.h b/src/include/lib.h
deleted file mode 100644
index 400ea468d..000000000
--- a/src/include/lib.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef LIB_H
-#define LIB_H
-
-#include <stdint.h>
-
-int getline(char *buf, int max);
-
-extern struct pci_device *dev_list;
-extern int n_devs;
-
-extern void pci_init(void);
-extern struct pci_device *pci_find_device(int vendor, int device, int devclass,
-int prog_if, int index);
-
-void *calloc(size_t nmemb, size_t size);
-void *realloc(void *ptr, size_t size);
-
-char *strdup(const char *s);
-
-int isspace(int c);
-
-unsigned long long simple_strtoull(const char *cp,char **endp,unsigned int base);
-unsigned long long strtoull_with_suffix(const char *cp,char **endp,unsigned int base);
-
-unsigned int get_le32(const unsigned char *);
-unsigned int get_le16(const unsigned char *);
-void hexdump(const void *p, unsigned int len);
-
-long long simple_strtoll(const char *cp,char **endp,unsigned int base);
-
-#define LOADER_NOT_SUPPORT 0xbadf11e
-
-struct sys_info;
-int elf_load(struct sys_info *, const char *filename, const char *cmdline);
-
-#if LINUX_LOADER
-int linux_load(struct sys_info *, const char *filename, const char *cmdline);
-#else
-#define linux_load(x,y,z) LOADER_NOT_SUPPORT /* nop */
-#endif
-
-#endif /* LIB_H */