ref: refs/heads/master
commit b9856eb4513fdfa535b94ca9d1bc324f5fe63402
Author: Michael Schroeder
Date: Thu May 7 14:30:54 2009 +0200
- kill old dataiterator_match_obsolete function
---
src/repo.h | 3 ---
src/repodata.c | 13 -------------
2 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/src/repo.h b/src/repo.h
index 8c097ef..70ded77 100644
--- a/src/repo.h
+++ b/src/repo.h
@@ -278,9 +278,6 @@ void dataiterator_jump_to_solvid(Dataiterator *di, Id solvid);
void dataiterator_jump_to_repo(Dataiterator *di, Repo *repo);
void dataiterator_entersub(Dataiterator *di);
-/* to be removed ... */
-int dataiterator_match_obsolete(Dataiterator *di, int flags, const void *match);
-
void repo_set_id(Repo *repo, Id p, Id keyname, Id id);
void repo_set_num(Repo *repo, Id p, Id keyname, Id num);
void repo_set_str(Repo *repo, Id p, Id keyname, const char *str);
diff --git a/src/repodata.c b/src/repodata.c
index fc7798c..be386e4 100644
--- a/src/repodata.c
+++ b/src/repodata.c
@@ -1392,19 +1392,6 @@ dataiterator_match(Dataiterator *di, Datamatcher *ma)
return datamatcher_match(ma, di->kv.str);
}
-int
-dataiterator_match_obsolete(Dataiterator *di, int flags, const void *vmatch)
-{
- Datamatcher matcher;
-
- if (!repodata_stringify(di->pool, di->data, di->key, &di->kv, flags))
- return 0;
- matcher = di->matcher;
- matcher.flags = flags;
- matcher.match = (void *)vmatch;
- return datamatcher_match(&matcher, di->kv.str);
-}
-
/************************************************************************
* data modify functions
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org