mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-03 22:34:21 +01:00
txfilter: clean up prototypes.
Use const, add TAKES to declaration. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
c9e271df90
commit
e76f863329
@@ -84,7 +84,8 @@ void subd_shutdown(struct subd *subd UNNEEDED, unsigned int seconds UNNEEDED)
|
||||
void timer_expired(tal_t *ctx UNNEEDED, struct timer *timer UNNEEDED)
|
||||
{ fprintf(stderr, "timer_expired called!\n"); abort(); }
|
||||
/* Generated stub for txfilter_add_derkey */
|
||||
void txfilter_add_derkey(struct txfilter *filter UNNEEDED, u8 derkey[PUBKEY_DER_LEN])
|
||||
void txfilter_add_derkey(struct txfilter *filter UNNEEDED,
|
||||
const u8 derkey[PUBKEY_DER_LEN])
|
||||
{ fprintf(stderr, "txfilter_add_derkey called!\n"); abort(); }
|
||||
/* Generated stub for txfilter_new */
|
||||
struct txfilter *txfilter_new(const tal_t *ctx UNNEEDED)
|
||||
|
||||
Reference in New Issue
Block a user