From 7364f975c92ff28a9ca6f2decb7d0ab28e94db48 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 6 Jan 2009 21:54:41 +0100 Subject: [PATCH] Remove osl_hash_compare(). API change, but as the code is not yet publically available.. --- osl.c | 5 ----- osl.h.in | 13 ------------- 2 files changed, 18 deletions(-) diff --git a/osl.c b/osl.c index 9e6de44..9bdc351 100644 --- a/osl.c +++ b/osl.c @@ -148,11 +148,6 @@ static int verify_name(const char *name) return 1; } -int osl_hash_compare(const struct osl_object *obj1, const struct osl_object *obj2) -{ - return hash_compare((HASH_TYPE *)obj1->data, (HASH_TYPE *)obj2->data); -} - static char *disk_storage_dirname(const struct osl_table *t, unsigned col_num, const char *ds_name) { diff --git a/osl.h.in b/osl.h.in index da70cfd..5d81459 100644 --- a/osl.h.in +++ b/osl.h.in @@ -476,19 +476,6 @@ int osl_get_nth_row(const struct osl_table *t, unsigned col_num, int osl_get_rank(const struct osl_table *t, struct osl_row *r, unsigned col_num, unsigned *rank); -/** - * Compare two osl objects pointing to hash values. - * - * \param obj1 Pointer to the first hash object. - * \param obj2 Pointer to the second hash object. - * - * \return The values required for an osl compare function. - * - * \sa osl_compare_func, uint32_compare(). - */ -int osl_hash_compare(const struct osl_object *obj1, - const struct osl_object *obj2); - /** * Get a string describing the error code passed in the argument. * -- 2.39.5