summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/util.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-02-28 17:43:36 +0100
committerDan McGee <dan@archlinux.org>2011-02-28 17:43:36 +0100
commit5ea4706f57e15de23a5fd36eff3bc4619aeac224 (patch)
treee2183dab0dc35c7acfbb0a519655fa1a308b24d3 /lib/libalpm/util.h
parent1eccae3d9349a4366f511910f64870027a7fd2d7 (diff)
downloadpacman-5ea4706f57e15de23a5fd36eff3bc4619aeac224.tar.gz
pacman-5ea4706f57e15de23a5fd36eff3bc4619aeac224.tar.xz
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 <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.h')
-rw-r--r--lib/libalpm/util.h2
1 files changed, 0 insertions, 2 deletions
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);