]> git.tuebingen.mpg.de Git - osl.git/blobdiff - osl_core.h
Kill uint32_compare().
[osl.git] / osl_core.h
index b6d1f8222878de726dfadeced976fc1f9c99799f..a6342f8e74db1aa5174e0bfea2a6e128de1b8add 100644 (file)
@@ -7,7 +7,6 @@
 /** \file osl_core.h Object storage layer details, not visible to users. */
 
 #include "rbtree.h"
-#include "osl.h"
 #include "hash.h"
 
 static __must_check __printf_1_2 __malloc char *make_message(const char *fmt, ...);
@@ -261,7 +260,7 @@ _static_inline_ int get_row_index(const struct osl_table *t, uint32_t row_num,
        index_offset = t->index_header_size + t->row_index_size * row_num;
        if (index_offset + 8 > t->index_map.size) {
                *row_index = NULL;
-               return -E_INDEX_CORRUPTION;
+               return -E_OSL_INDEX_CORRUPTION;
        }
        *row_index = (char *)(t->index_map.data) + index_offset;
        return 1;