From 69a3558b75948e4b1592a060a58f6c1d58b7d459 Mon Sep 17 00:00:00 2001
From: Dan McGee <dan@archlinux.org>
Date: Sun, 18 Sep 2011 17:03:54 -0500
Subject: 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>
---
 lib/libalpm/alpm.h    | 2 --
 lib/libalpm/package.c | 7 -------
 2 files changed, 9 deletions(-)

(limited to 'lib/libalpm')

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)
 {
-- 
cgit v1.2.3-70-g09d2