X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgl_anytreehash_list1.h;h=48228c574f814ebb06affa8b7b68f5b8347d2b67;hb=43593319b31e6b0175b8eec4433bac744959822d;hp=5caf9425d3c927dbc756b36b1f4fbf492350531b;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/lib/gl_anytreehash_list1.h b/lib/gl_anytreehash_list1.h index 5caf9425d..48228c574 100644 --- a/lib/gl_anytreehash_list1.h +++ b/lib/gl_anytreehash_list1.h @@ -1,5 +1,5 @@ /* Sequential list data type implemented by a hash table with a binary tree. - Copyright (C) 2006-2007, 2009-2010 Free Software Foundation, Inc. + Copyright (C) 2006-2007, 2009-2013 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software: you can redistribute it and/or modify @@ -29,7 +29,7 @@ struct gl_multiple_nodes #define MULTIPLE_NODES_MAGIC (void *) -1 /* Resize the hash table if needed, after list->count was incremented. */ -static inline void +static void hash_resize_after_add (gl_list_t list) { size_t count = (list->root != 0 ? list->root->branch_size : 0); @@ -87,7 +87,7 @@ compare_position_threshold (const void *x, const void *threshold) } /* Return the first element of a non-empty ordered set of nodes. */ -static inline gl_list_node_t +static gl_list_node_t gl_oset_first (gl_oset_t set) { gl_oset_iterator_t iter = gl_oset_iterator (set); @@ -272,7 +272,7 @@ remove_from_bucket (gl_list_t list, gl_list_node_t old_node) /* Build up the hash table during initialization: Store all the nodes of list->root in the hash table. Return 0 upon success, -1 upon out-of-memory. */ -static inline int +static int add_nodes_to_buckets (gl_list_t list) { /* Iterate across all nodes. */