X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdevtools.c;h=5bd061800a0c72f7445cab68cb344d6570470f8c;hb=f13c6d9a4dbfce011fc4c3a5260b38b9a2a4fcc5;hp=a4468f024794508ab199d08faba4590d5a4ecad1;hpb=03ab29c1e6e1b608311decb6630eb0a2177ce1dd;p=meshlink diff --git a/src/devtools.c b/src/devtools.c index a4468f02..5bd06180 100644 --- a/src/devtools.c +++ b/src/devtools.c @@ -30,7 +30,7 @@ #include "devtools.h" -static void trybind_nop_probe(void) { +static void nop_probe(void) { return; } @@ -39,8 +39,15 @@ static void keyrotate_nop_probe(int stage) { return; } -void (*devtool_trybind_probe)(void) = trybind_nop_probe; +static void inviter_commits_first_nop_probe(bool stage) { + (void)stage; + return; +} + +void (*devtool_trybind_probe)(void) = nop_probe; void (*devtool_keyrotate_probe)(int stage) = keyrotate_nop_probe; +void (*devtool_set_inviter_commits_first)(bool inviter_commited_first) = inviter_commits_first_nop_probe; +void (*devtool_adns_resolve_probe)(void) = nop_probe; /* Return an array of edges in the current network graph. * Data captures the current state and will not be updated.