summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/trans.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-06-02 19:17:26 +0200
committerDan McGee <dan@archlinux.org>2007-06-02 19:17:26 +0200
commited13ac2cc8dd15d8a19d769cc77941ad18ac1a7c (patch)
treeb20ca34955ce27277638b26a99c6284d8729b004 /lib/libalpm/trans.h
parentfe2c58fc9211dfc1d50c145397b947325abd1bdc (diff)
downloadpacman-ed13ac2cc8dd15d8a19d769cc77941ad18ac1a7c.tar.gz
pacman-ed13ac2cc8dd15d8a19d769cc77941ad18ac1a7c.tar.xz
Remove freespace checking code
This code depends on /etc/mtab existance, which is not very reliable in all cases, especially in a chroot or non-Linux environment. Dump it for now until we can find a better way. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/trans.h')
-rw-r--r--lib/libalpm/trans.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libalpm/trans.h b/lib/libalpm/trans.h
index eb152a04..f3575895 100644
--- a/lib/libalpm/trans.h
+++ b/lib/libalpm/trans.h
@@ -82,9 +82,6 @@ int _alpm_trans_update_depends(pmtrans_t *trans, pmpkg_t *pkg);
int _alpm_runscriptlet(const char *root, const char *installfn,
const char *script, const char *ver,
const char *oldver, pmtrans_t *trans);
-#ifndef __sun__
-int _alpm_check_freespace(pmtrans_t *trans, alpm_list_t **data);
-#endif
#endif /* _ALPM_TRANS_H */