summaryrefslogtreecommitdiff
path: root/lib/libalpm/handle.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-01-08 15:49:52 -0600
committerDan McGee <dan@archlinux.org>2008-01-08 15:49:52 -0600
commit9dd016001eafb69991661d4d8bda91906d51ed78 (patch)
treebbe1bf67880aa689d3b300db735fb4fa72adb24e /lib/libalpm/handle.c
parenta24c323abadd7802a38d162a0015bbc4dc82f75d (diff)
downloadpacman-9dd016001eafb69991661d4d8bda91906d51ed78.tar.xz
Remove upgradedelay and all code associated with it
It wasn't even implemented correctly, and it really doesn't have a use if packagers just do their job correctly anyway for a distro. Let's not try to solve a problem with the wrong solution now. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/handle.c')
-rw-r--r--lib/libalpm/handle.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c
index 189c934f..7aab5161 100644
--- a/lib/libalpm/handle.c
+++ b/lib/libalpm/handle.c
@@ -219,15 +219,6 @@ alpm_list_t SYMEXPORT *alpm_option_get_ignoregrps()
return handle->ignoregrp;
}
-time_t SYMEXPORT alpm_option_get_upgradedelay()
-{
- if (handle == NULL) {
- pm_errno = PM_ERR_HANDLE_NULL;
- return -1;
- }
- return handle->upgradedelay;
-}
-
const char SYMEXPORT *alpm_option_get_xfercommand()
{
if (handle == NULL) {
@@ -561,11 +552,6 @@ int SYMEXPORT alpm_option_remove_ignoregrp(const char *grp)
return(0);
}
-void SYMEXPORT alpm_option_set_upgradedelay(time_t delay)
-{
- handle->upgradedelay = delay;
-}
-
void SYMEXPORT alpm_option_set_xfercommand(const char *cmd)
{
if(handle->xfercommand) FREE(handle->xfercommand);