From ed13ac2cc8dd15d8a19d769cc77941ad18ac1a7c Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 2 Jun 2007 13:17:26 -0400 Subject: 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 --- lib/libalpm/trans.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/libalpm/trans.h') 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 */ -- cgit v1.2.3-24-g4f1b