X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=osl_core.h;h=a6342f8e74db1aa5174e0bfea2a6e128de1b8add;hb=f57b24f2f5b6d8ce5ca0d5ad67b5c086695d8eb2;hp=b6d1f8222878de726dfadeced976fc1f9c99799f;hpb=02e6053e5976c6aa4bf538f3469335835d54e478;p=osl.git diff --git a/osl_core.h b/osl_core.h index b6d1f82..a6342f8 100644 --- a/osl_core.h +++ b/osl_core.h @@ -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;