]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - osl_core.h
user_list.c: Minor documentation impreovements.
[paraslash.git] / osl_core.h
index a23bb3d9d0652dbc8811032240a14fba7db05ce4..d6661617725e3436a78ba7ee12e19c42800462c6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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.
  */
@@ -439,9 +439,9 @@ _static_inline_ struct osl_row *get_row_pointer(const struct rb_node *node,
  * \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);
 }
 
 /**
@@ -460,7 +460,7 @@ static inline void hash_object(const struct osl_object *obj, HASH_TYPE *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];
 
@@ -480,7 +480,7 @@ static inline char *disk_storage_name_of_hash(const struct osl_table *t, HASH_TY
  *
  * \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);