From 5ea4706f57e15de23a5fd36eff3bc4619aeac224 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 28 Feb 2011 10:43:36 -0600 Subject: Move locking functions to where they are needed We only call these from the transaction init and teardown, so move them to that file, mark them static, and push more of the logic of handle manipulation into these functions. Signed-off-by: Dan McGee --- lib/libalpm/util.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/libalpm/util.h') diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h index 930503b7..d65f7734 100644 --- a/lib/libalpm/util.h +++ b/lib/libalpm/util.h @@ -80,8 +80,6 @@ int _alpm_makepath(const char *path); int _alpm_makepath_mode(const char *path, mode_t mode); int _alpm_copyfile(const char *src, const char *dest); char *_alpm_strtrim(char *str); -FILE *_alpm_lckmk(void); -int _alpm_lckrm(void); int _alpm_unpack_single(const char *archive, const char *prefix, const char *fn); int _alpm_unpack(const char *archive, const char *prefix, alpm_list_t *list, int breakfirst); int _alpm_rmrf(const char *path); -- cgit v1.2.3-24-g4f1b