Browse Source

Remove duplicate const qualifier

This causes ccanlint to fail the 'no warnings' check under clang.

Signed-off-by: Jon Griffiths <jon_p_griffiths@yahoo.com>
Jon Griffiths 9 years ago
parent
commit
f94261729f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ccan/tal/tal.h

+ 1 - 1
ccan/tal/tal.h

@@ -285,7 +285,7 @@ tal_t *tal_first(const tal_t *root);
  * Returns NULL if there are no more immediate children.  This should be safe to
  * call on an altering tree unless @prev is no longer valid.
  */
-tal_t *tal_next(const const tal_t *prev);
+tal_t *tal_next(const tal_t *prev);
 
 /**
  * tal_parent - get the parent of a tal object.