diff options
author | Jakob Gruber <jakob.gruber@gmail.com> | 2010-10-02 20:32:03 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-30 09:25:16 -0600 |
commit | cb7ba4e4e5c1b46b726cb6c9f10395784511bb2a (patch) | |
tree | 12ea510b3f57e53ed3c7193c874ae6721bf4c08b /lib/libalpm/add.c | |
parent | 619c165d36c2d89732c2658abaa61bf50ec1ac8e (diff) | |
download | pacman-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/add.c')
-rw-r--r-- | lib/libalpm/add.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index b0b5a534..ed57a079 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -53,7 +53,7 @@ * @param target the name of the file target to add * @return 0 on success, -1 on error (pm_errno is set accordingly) */ -int SYMEXPORT alpm_add_target(char *target) +int SYMEXPORT alpm_add_target(const char *target) { pmpkg_t *pkg = NULL; const char *pkgname, *pkgver; |