diff options
author | Dan McGee <dan@archlinux.org> | 2011-09-19 00:03:54 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-19 00:03:56 +0200 |
commit | 69a3558b75948e4b1592a060a58f6c1d58b7d459 (patch) | |
tree | 9b63b0f28ab640bdcc63ce869a77aa1ae327cd53 | |
parent | 49dff4c80b70f73f55cd8968e83d4ea3727c2ae3 (diff) | |
download | pacman-69a3558b75948e4b1592a060a58f6c1d58b7d459.tar.gz pacman-69a3558b75948e4b1592a060a58f6c1d58b7d459.tar.xz |
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>
-rw-r--r-- | lib/libalpm/alpm.h | 2 | ||||
-rw-r--r-- | lib/libalpm/package.c | 7 |
2 files changed, 0 insertions, 9 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index cd124e5f..d180fcad 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -901,8 +901,6 @@ void *alpm_pkg_changelog_open(alpm_pkg_t *pkg); size_t alpm_pkg_changelog_read(void *ptr, size_t size, 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); /** Returns whether the package has an install scriptlet. diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index 30458576..af893025 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -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); } -/* -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. */ int SYMEXPORT alpm_pkg_changelog_close(const alpm_pkg_t *pkg, void *fp) { |