summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Schoenert <c.schoenert@gmail.com>2013-11-04 13:13:13 (EST)
committer Paul Barker <paul@paulbarker.me.uk>2013-12-17 16:00:35 (EST)
commitf6303f97df56b35fec31e3b31f75cbc0b7a7715d (patch)
tree4cf6aa5548868733e62e32bbedc53ff7aa2af880
parent7cf3b66d442c153c45a5ec7c13c32e595de85e60 (diff)
config.h: remove needless inclusion in the libopkg header files
There is no usage of variables from config.h inside the libopkg header files. If so it's wrong because the header files from the libopkg directory are installed to the target system and there is no config.h inside the installed directory. Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
-rw-r--r--libopkg/opkg_conf.h2
-rw-r--r--libopkg/opkg_download.h1
-rw-r--r--libopkg/pkg.h2
3 files changed, 0 insertions, 5 deletions
diff --git a/libopkg/opkg_conf.h b/libopkg/opkg_conf.h
index 29b65a7..70bfadf 100644
--- a/libopkg/opkg_conf.h
+++ b/libopkg/opkg_conf.h
@@ -21,8 +21,6 @@
typedef struct opkg_conf opkg_conf_t;
extern opkg_conf_t *conf;
-#include "config.h"
-
#include <stdarg.h>
#include "hash_table.h"
diff --git a/libopkg/opkg_download.h b/libopkg/opkg_download.h
index 39340ea..af77859 100644
--- a/libopkg/opkg_download.h
+++ b/libopkg/opkg_download.h
@@ -18,7 +18,6 @@
#ifndef OPKG_DOWNLOAD_H
#define OPKG_DOWNLOAD_H
-#include "config.h"
#include "pkg.h"
typedef void (*opkg_download_progress_callback)(int percent, char *url);
diff --git a/libopkg/pkg.h b/libopkg/pkg.h
index 1dc65a3..ad37ae9 100644
--- a/libopkg/pkg.h
+++ b/libopkg/pkg.h
@@ -18,8 +18,6 @@
#ifndef PKG_H
#define PKG_H
-#include "config.h"
-
#include <sys/types.h>
#include "pkg_vec.h"