From cb7ba4e4e5c1b46b726cb6c9f10395784511bb2a Mon Sep 17 00:00:00 2001 From: Jakob Gruber Date: Sat, 2 Oct 2010 20:32:03 +0200 Subject: Add const to some ALPM function signatures char * -> const char *. Signed-off-by: Dan McGee --- lib/libalpm/alpm.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libalpm/alpm.h') diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 53cfde63..ea4aa14a 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -419,10 +419,10 @@ int alpm_trans_interrupt(void); int alpm_trans_release(void); int alpm_sync_sysupgrade(int enable_downgrade); -int alpm_sync_target(char *target); -int alpm_sync_dbtarget(char *db, char *target); -int alpm_add_target(char *target); -int alpm_remove_target(char *target); +int alpm_sync_target(const char *target); +int alpm_sync_dbtarget(const char *db, const char *target); +int alpm_add_target(const char *target); +int alpm_remove_target(const char *target); /* * Dependencies and conflicts -- cgit v1.2.3-24-g4f1b