[pacman-dev] [PATCH] Remove unused string.h from src/pacman/remove.c

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Thu May 21 00:19:37 EDT 2009


This header was used in the code for the function strdup()
that is not used anymore.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
---
 src/pacman/remove.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/pacman/remove.c b/src/pacman/remove.c
index 11bc157..1968744 100644
--- a/src/pacman/remove.c
+++ b/src/pacman/remove.c
@@ -21,7 +21,6 @@
 
 #include <stdlib.h>
 #include <stdio.h>
-#include <string.h>
 
 #include <alpm.h>
 #include <alpm_list.h>
-- 
1.6.3.1



More information about the pacman-dev mailing list