]> git.ozlabs.org Git - ccan/commitdiff
Remove duplicate const qualifier
authorJon Griffiths <jon_p_griffiths@yahoo.com>
Wed, 21 Sep 2016 01:48:58 +0000 (13:48 +1200)
committerJon Griffiths <jon_p_griffiths@yahoo.com>
Wed, 21 Sep 2016 01:50:18 +0000 (13:50 +1200)
This causes ccanlint to fail the 'no warnings' check under clang.

Signed-off-by: Jon Griffiths <jon_p_griffiths@yahoo.com>
ccan/tal/tal.h

index bdaa3f67381ee2e93a1fb87c7a3746fe6fa69ac9..713db118819c4d7ce128bab723d62f924566ca8c 100644 (file)
@@ -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.