Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=b42d8669a20da653cd266319782494a2fd7ad93e

commit b42d8669a20da653cd266319782494a2fd7ad93e
Author: Michel Hermier <herm...@frugalware.org>
Date:   Tue Aug 2 12:50:06 2011 +0200

sync.c: remove unesserary istoonew (is in trans_sysupgrade)

diff --git a/lib/libpacman/sync.c b/lib/libpacman/sync.c
index f87f1cb..5f70310 100644
--- a/lib/libpacman/sync.c
+++ b/lib/libpacman/sync.c
@@ -104,15 +104,6 @@ pmsyncpkg_t *find_pkginsync(char *needle, pmlist_t 
*haystack)
return(NULL);
}

-static int istoonew(pmpkg_t *pkg)
-{
-       time_t t;
-       if (!handle->upgradedelay)
-               return 0;
-       time(&t);
-       return((pkg->date + handle->upgradedelay) > t);
-}
-
int _pacman_sync_addtarget(pmtrans_t *trans, const char *name)
{
char targline[PKG_FULLNAME_LEN];
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to