From: Jon Griffiths Date: Wed, 21 Sep 2016 01:48:58 +0000 (+1200) Subject: Remove duplicate const qualifier X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=f94261729ff13eb4e1f3341167c0e54afaa6a73a Remove duplicate const qualifier This causes ccanlint to fail the 'no warnings' check under clang. Signed-off-by: Jon Griffiths --- diff --git a/ccan/tal/tal.h b/ccan/tal/tal.h index bdaa3f67..713db118 100644 --- a/ccan/tal/tal.h +++ b/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.