summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-08-14 09:33:55 -0400
committerDan McGee <dan@archlinux.org>2007-08-14 09:33:55 -0400
commit49c29e16b31ce35e81be210bc74a3834530bb9e0 (patch)
tree6af42b0e318e257d55a41c125c479cf6609c5225 /src
parent47ee89ada9d13935510ef92541649901789c23c8 (diff)
downloadpacman-49c29e16b31ce35e81be210bc74a3834530bb9e0.tar.xz
Code cleanup
Remove the commented desc_localized stuff, we can find it later in version control. Also remove some unnecessary includes of the stat header and use -fstack-protector-all which is a bit more broad. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/callback.c1
-rw-r--r--src/pacman/sync.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c
index 0e5d87ee..ef67ab75 100644
--- a/src/pacman/callback.c
+++ b/src/pacman/callback.c
@@ -25,7 +25,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
-#include <sys/stat.h>
#include <unistd.h>
#include <dirent.h>
#include <wchar.h>
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index b02ecde1..dab3f595 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -24,7 +24,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/stat.h>
#include <unistd.h>
#include <dirent.h>