summaryrefslogtreecommitdiff
path: root/lib/libalpm/remove.c
diff options
context:
space:
mode:
authorJakob Gruber <jakob.gruber@gmail.com>2010-10-02 20:32:03 +0200
committerDan McGee <dan@archlinux.org>2010-12-30 09:25:16 -0600
commitcb7ba4e4e5c1b46b726cb6c9f10395784511bb2a (patch)
tree12ea510b3f57e53ed3c7193c874ae6721bf4c08b /lib/libalpm/remove.c
parent619c165d36c2d89732c2658abaa61bf50ec1ac8e (diff)
downloadpacman-cb7ba4e4e5c1b46b726cb6c9f10395784511bb2a.tar.xz
Add const to some ALPM function signatures
char * -> const char *. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/remove.c')
-rw-r--r--lib/libalpm/remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c
index 0bcf5521..c06a239b 100644
--- a/lib/libalpm/remove.c
+++ b/lib/libalpm/remove.c
@@ -46,7 +46,7 @@
#include "handle.h"
#include "alpm.h"
-int SYMEXPORT alpm_remove_target(char *target)
+int SYMEXPORT alpm_remove_target(const char *target)
{
pmpkg_t *info;
pmtrans_t *trans;