summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2018-11-30 12:40:36 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2018-11-30 12:40:36 +0900
commit97330b5a608c2213fdf3f49bfbaa268bf9627920 (patch)
treeeb753c0b9543739bb05137b73562d705d0ce8c6f /tools
parente197f682d93362b26879b545062694a050a4c4b4 (diff)
downloadlibsolv-97330b5a608c2213fdf3f49bfbaa268bf9627920.tar.gz
libsolv-97330b5a608c2213fdf3f49bfbaa268bf9627920.tar.bz2
libsolv-97330b5a608c2213fdf3f49bfbaa268bf9627920.zip
Imported Upstream version 0.6.27upstream/0.6.27
Change-Id: I4feccd10bd9fe0514ff13520136e962b6c093175 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/appdata2solv.c2
-rw-r--r--tools/archrepo2solv.c4
-rw-r--r--tools/common_write.c2
-rw-r--r--tools/comps2solv.c2
-rw-r--r--tools/deltainfoxml2solv.c2
-rw-r--r--tools/helix2solv.c2
-rw-r--r--tools/installcheck.c1
-rw-r--r--tools/mdk2solv.c4
-rw-r--r--tools/mergesolv.c2
-rw-r--r--tools/patchcheck.c1
-rw-r--r--tools/repomdxml2solv.c2
-rw-r--r--tools/rpmdb2solv.c2
-rw-r--r--tools/rpmmd2solv.c3
-rw-r--r--tools/susetags2solv.c5
-rw-r--r--tools/updateinfoxml2solv.c2
15 files changed, 3 insertions, 33 deletions
diff --git a/tools/appdata2solv.c b/tools/appdata2solv.c
index a8753a1..ce6c98c 100644
--- a/tools/appdata2solv.c
+++ b/tools/appdata2solv.c
@@ -15,8 +15,6 @@
*/
#include <sys/types.h>
-#include <limits.h>
-#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/tools/archrepo2solv.c b/tools/archrepo2solv.c
index 6dcb076..5f8eade 100644
--- a/tools/archrepo2solv.c
+++ b/tools/archrepo2solv.c
@@ -15,12 +15,10 @@
*/
#include <sys/types.h>
-#include <limits.h>
-#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <getopt.h>
+#include <unistd.h>
#include "pool.h"
#include "repo.h"
diff --git a/tools/common_write.c b/tools/common_write.c
index 1336b3f..e20f64f 100644
--- a/tools/common_write.c
+++ b/tools/common_write.c
@@ -6,8 +6,6 @@
*/
#include <sys/types.h>
-#include <limits.h>
-#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/tools/comps2solv.c b/tools/comps2solv.c
index 73854d2..cdbcf74 100644
--- a/tools/comps2solv.c
+++ b/tools/comps2solv.c
@@ -15,8 +15,6 @@
*/
#include <sys/types.h>
-#include <limits.h>
-#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/tools/deltainfoxml2solv.c b/tools/deltainfoxml2solv.c
index 41616ba..7d6348f 100644
--- a/tools/deltainfoxml2solv.c
+++ b/tools/deltainfoxml2solv.c
@@ -6,8 +6,6 @@
*/
#include <sys/types.h>
-#include <limits.h>
-#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/tools/helix2solv.c b/tools/helix2solv.c
index d893fb1..04c6b48 100644
--- a/tools/helix2solv.c
+++ b/tools/helix2solv.c
@@ -15,8 +15,6 @@
*/
#include <sys/types.h>
-#include <limits.h>
-#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/tools/installcheck.c b/tools/installcheck.c
index b0fdb33..6c090d8 100644
--- a/tools/installcheck.c
+++ b/tools/installcheck.c
@@ -15,7 +15,6 @@
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
-#include <zlib.h>
#include "pool.h"
#include "poolarch.h"
diff --git a/tools/mdk2solv.c b/tools/mdk2solv.c
index dcf9d6f..bd77fb7 100644
--- a/tools/mdk2solv.c
+++ b/tools/mdk2solv.c
@@ -15,12 +15,10 @@
*/
#include <sys/types.h>
-#include <limits.h>
-#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <getopt.h>
+#include <unistd.h>
#include "pool.h"
#include "repo.h"
diff --git a/tools/mergesolv.c b/tools/mergesolv.c
index 6719c8c..ae6e163 100644
--- a/tools/mergesolv.c
+++ b/tools/mergesolv.c
@@ -12,8 +12,6 @@
#include <sys/types.h>
#include <unistd.h>
-#include <limits.h>
-#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/tools/patchcheck.c b/tools/patchcheck.c
index 6a5c3f7..4025f92 100644
--- a/tools/patchcheck.c
+++ b/tools/patchcheck.c
@@ -14,7 +14,6 @@
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
-#include <zlib.h>
#include "pool.h"
#include "evr.h"
diff --git a/tools/repomdxml2solv.c b/tools/repomdxml2solv.c
index f32c35d..e3159de 100644
--- a/tools/repomdxml2solv.c
+++ b/tools/repomdxml2solv.c
@@ -6,8 +6,6 @@
*/
#include <sys/types.h>
-#include <limits.h>
-#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/tools/rpmdb2solv.c b/tools/rpmdb2solv.c
index 99c4880..aa978d8 100644
--- a/tools/rpmdb2solv.c
+++ b/tools/rpmdb2solv.c
@@ -15,8 +15,6 @@
*/
#include <sys/types.h>
-#include <limits.h>
-#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/tools/rpmmd2solv.c b/tools/rpmmd2solv.c
index d4fe2ff..437c83d 100644
--- a/tools/rpmmd2solv.c
+++ b/tools/rpmmd2solv.c
@@ -8,13 +8,10 @@
#define _GNU_SOURCE
#include <sys/types.h>
-#include <limits.h>
-#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <zlib.h>
#include "pool.h"
#include "repo.h"
diff --git a/tools/susetags2solv.c b/tools/susetags2solv.c
index 71c65d8..19278db 100644
--- a/tools/susetags2solv.c
+++ b/tools/susetags2solv.c
@@ -8,14 +8,11 @@
#define _GNU_SOURCE
#include <sys/types.h>
-#include <limits.h>
-#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
-#include <zlib.h>
-#include <getopt.h>
+#include <unistd.h>
#include "pool.h"
#include "repo.h"
diff --git a/tools/updateinfoxml2solv.c b/tools/updateinfoxml2solv.c
index 5432150..6a97b0d 100644
--- a/tools/updateinfoxml2solv.c
+++ b/tools/updateinfoxml2solv.c
@@ -6,8 +6,6 @@
*/
#include <sys/types.h>
-#include <limits.h>
-#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>