[pacman-dev] [PATCH] Remove unnecessary unistd.h header inclusion
Dan McGee
dan at archlinux.org
Wed Sep 10 15:34:33 EDT 2008
Signed-off-by: Dan McGee <dan at archlinux.org>
---
lib/libalpm/cache.c | 1 -
lib/libalpm/conflict.c | 1 -
lib/libalpm/db.c | 1 -
lib/libalpm/package.c | 1 -
4 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c
index 032cc97..1085779 100644
--- a/lib/libalpm/cache.c
+++ b/lib/libalpm/cache.c
@@ -19,7 +19,6 @@
#include "config.h"
-#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
diff --git a/lib/libalpm/conflict.c b/lib/libalpm/conflict.c
index cae237c..499e55a 100644
--- a/lib/libalpm/conflict.c
+++ b/lib/libalpm/conflict.c
@@ -25,7 +25,6 @@
#include <stdlib.h>
#include <stdio.h>
-#include <unistd.h>
#include <string.h>
#include <limits.h>
#include <sys/stat.h>
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index 0ae0c89..9b91ce4 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -23,7 +23,6 @@
#include "config.h"
-#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index 1302004..ee0ff6f 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -30,7 +30,6 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <unistd.h>
/* libarchive */
#include <archive.h>
--
1.6.0.1
More information about the pacman-dev
mailing list