diff options
author | Dan McGee <dan@archlinux.org> | 2011-02-28 17:43:36 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-28 17:43:36 +0100 |
commit | 5ea4706f57e15de23a5fd36eff3bc4619aeac224 (patch) | |
tree | e2183dab0dc35c7acfbb0a519655fa1a308b24d3 /lib/libalpm/util.h | |
parent | 1eccae3d9349a4366f511910f64870027a7fd2d7 (diff) | |
download | pacman-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.h | 2 |
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); |