1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

Remove dead changelog_feof() code

We never ended up using or really needing this; kill it for now knowing
it is in git history if ever needed again.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2011-09-18 17:03:54 -05:00
parent 49dff4c80b
commit 69a3558b75
2 changed files with 0 additions and 9 deletions

View File

@ -901,8 +901,6 @@ void *alpm_pkg_changelog_open(alpm_pkg_t *pkg);
size_t alpm_pkg_changelog_read(void *ptr, size_t size, size_t alpm_pkg_changelog_read(void *ptr, size_t size,
const alpm_pkg_t *pkg, const void *fp); const alpm_pkg_t *pkg, const void *fp);
/*int alpm_pkg_changelog_feof(const alpm_pkg_t *pkg, void *fp);*/
int alpm_pkg_changelog_close(const alpm_pkg_t *pkg, void *fp); int alpm_pkg_changelog_close(const alpm_pkg_t *pkg, void *fp);
/** Returns whether the package has an install scriptlet. /** Returns whether the package has an install scriptlet.

View File

@ -367,13 +367,6 @@ size_t SYMEXPORT alpm_pkg_changelog_read(void *ptr, size_t size,
return pkg->ops->changelog_read(ptr, size, pkg, fp); return pkg->ops->changelog_read(ptr, size, pkg, fp);
} }
/*
int SYMEXPORT alpm_pkg_changelog_feof(const alpm_pkg_t *pkg, void *fp)
{
return pkg->ops->changelog_feof(pkg, fp);
}
*/
/** Close a package changelog for reading. */ /** Close a package changelog for reading. */
int SYMEXPORT alpm_pkg_changelog_close(const alpm_pkg_t *pkg, void *fp) int SYMEXPORT alpm_pkg_changelog_close(const alpm_pkg_t *pkg, void *fp)
{ {