Ensure sptps_test compiles with -flto.
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 13 Sep 2012 19:35:29 +0000 (21:35 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 13 Sep 2012 19:35:29 +0000 (21:35 +0200)
src/sptps_test.c

index 2999d27..952250a 100644 (file)
 #include "utils.h"
 
 // Symbols necessary to link with logger.o
-char *logfilename;
-char *connection_tree;
-char *send_request;
-char *send_meta;
+bool send_request(void *c, const char *msg, ...) { return false; }
+struct splay_tree_t *connection_tree = NULL;
+bool send_meta(void *c, const char *msg , int len) { return false; }
 
 ecdsa_t mykey, hiskey;