libpacman: Remove a bunch of unused functions.
libpacman: Remove another bunch of warnings.
libpacman: Remove a bunch of warnings.
pacman-g2: Fix some warnings in deptestpkg.