From: Niklas Hofmann Date: Sat, 9 Aug 2014 14:38:52 +0000 (+0200) Subject: explicit declaration of node_write_dclass X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=a1177c9aef02b7b9fb2702924d78c2b135a12ff2;p=meshlink explicit declaration of node_write_dclass --- diff --git a/src/protocol_auth.c b/src/protocol_auth.c index d72257b7..76188f6e 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -36,6 +36,8 @@ #include "utils.h" #include "xalloc.h" #include "ed25519/sha512.h" + +extern bool node_write_dclass(meshlink_handle_t *mesh, node_t *n); static bool send_proxyrequest(meshlink_handle_t *mesh, connection_t *c) { switch(mesh->proxytype) { diff --git a/src/protocol_edge.c b/src/protocol_edge.c index 3852ad65..d09a7877 100644 --- a/src/protocol_edge.c +++ b/src/protocol_edge.c @@ -33,6 +33,8 @@ #include "utils.h" #include "xalloc.h" +extern bool node_write_dclass(meshlink_handle_t *mesh, node_t *n); + bool send_add_edge(meshlink_handle_t *mesh, connection_t *c, const edge_t *e) { bool x; char *address, *port;