]> Savannah Git Hosting - gnulib.git/commitdiff
avltree-list: Fix compilation warning (introduced on 2014-09-16).
authorBruno Haible <bruno@clisp.org>
Sun, 29 Sep 2019 14:36:40 +0000 (16:36 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 29 Sep 2019 14:36:40 +0000 (16:36 +0200)
* lib/gl_avltree_list.c (gl_avltree_list_check_invariants): Remove
'const' attribute.

ChangeLog
lib/gl_avltree_list.c

index df438e96da98268c4a7acdedb6a7d4ecfa6c663b..325ddf57b789e6c4c945ac0f71cc4b5cc35b6f29 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-09-29  Bruno Haible  <bruno@clisp.org>
+
+       avltree-list: Fix compilation warning (introduced on 2014-09-16).
+       * lib/gl_avltree_list.c (gl_avltree_list_check_invariants): Remove
+       'const' attribute.
+
 2019-09-29  Bruno Haible  <bruno@clisp.org>
 
        fbufmode: Fix compilation error on glibc >= 2.28 systems.
index 655eeac01d784b9892c3ddbfc6785561fbe7ef94..6d9a53785b53c1fd480e087149d291f35a30ddce 100644 (file)
@@ -62,7 +62,7 @@ check_invariants (gl_list_node_t node, gl_list_node_t parent)
   return 1 + (left_height > right_height ? left_height : right_height);
 }
 
-void _GL_ATTRIBUTE_CONST
+void
 gl_avltree_list_check_invariants (gl_list_t list)
 {
   if (list->root != NULL)