]> git.tuebingen.mpg.de Git - osl.git/commitdiff
Remove osl_hash_compare().
authorAndre Noll <maan@systemlinux.org>
Tue, 6 Jan 2009 20:54:41 +0000 (21:54 +0100)
committerAndre Noll <maan@systemlinux.org>
Tue, 6 Jan 2009 20:54:41 +0000 (21:54 +0100)
API change, but as the code is not yet publically available..

osl.c
osl.h.in

diff --git a/osl.c b/osl.c
index 9e6de44f9b6192a465b172567737524dbef76f67..9bdc351dcbfa6f4f8fd47fe65b1a6d8016e9ba21 100644 (file)
--- a/osl.c
+++ b/osl.c
@@ -148,11 +148,6 @@ static int verify_name(const char *name)
        return 1;
 }
 
        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)
 {
 static char *disk_storage_dirname(const struct osl_table *t, unsigned col_num,
                const char *ds_name)
 {
index da70cfd5bbf80761ccf070633be6fe2a7fea0eb3..5d81459a380772fd63764dcae930119a1c938258 100644 (file)
--- 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);
 
 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.
  *
 /**
  * Get a string describing the error code passed in the argument.
  *