/*
- * Copyright (C) 2007 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2007-2008 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
unsigned num_rbtrees;
/**
* The number of the column that determines the name of the disk
- * storage objcts.
+ * storage objects.
*/
unsigned disk_storage_name_column;
/** The number of bytes of an index entry of a row. */
enum map_table_flags {
/**
* Check whether the entries in the table index match the entries in
- * the table desctiption.
+ * the table description.
*/
MAP_TBL_FL_VERIFY_INDEX = 1,
/** Do not complain even if the dirty flag is set. */
* Get the description of a column by column number
*
* \param d Pointer to the table description.
- * \param col_num The number of the column to get the desctiption for.
+ * \param col_num The number of the column to get the description for.
*
* \return The table description.
*
* \param obj the Object to compute the hash value from.
* \param hash Result is returned here.
*/
-static inline void hash_object(const struct osl_object *obj, HASH_TYPE *hash)
+_static_inline_ void hash_object(const struct osl_object *obj, HASH_TYPE *hash)
{
- return hash_function(obj->data, obj->size, hash);
+ hash_function(obj->data, obj->size, hash);
}
/**
*
* \sa struct osl_table:disk_storage_name_column.
*/
-static inline char *disk_storage_name_of_hash(const struct osl_table *t, HASH_TYPE *hash)
+_static_inline_ char *disk_storage_name_of_hash(const struct osl_table *t, HASH_TYPE *hash)
{
char asc[2 * HASH_SIZE + 2];
*
* \sa rename(2).
*/
-static inline int para_rename(const char *old_path, const char *new_path)
+_static_inline_ int para_rename(const char *old_path, const char *new_path)
{
if (rename(old_path, new_path) < 0)
return -ERRNO_TO_PARA_ERROR(errno);