]> git.meshlink.io Git - meshlink/blobdiff - src/devtools.c
Modify meshlink configuration base file structre
[meshlink] / src / devtools.c
index 2aba935b07e14a8563bbd8b220457f34c74007c9..5991d70cbbe5a1fb7af0c0998b17e18a2ab82bc1 100644 (file)
 
 #include "devtools.h"
 
-static void nop_probe(void) {
+static void trybind_nop_probe(void) {
        return;
 }
 
-void (*devtool_trybind_probe)(void) = nop_probe;
-void (*devtool_keyrotate_probe)(int stage) = nop_probe;
+static void keyrotate_nop_probe(int stage) {
+       (void)stage;
+       return;
+}
+
+void (*devtool_trybind_probe)(void) = trybind_nop_probe;
+void (*devtool_keyrotate_probe)(int stage) = keyrotate_nop_probe;
 
 /* Return an array of edges in the current network graph.
  * Data captures the current state and will not be updated.