From: Guus Sliepen Date: Thu, 13 Sep 2012 19:35:29 +0000 (+0200) Subject: Ensure sptps_test compiles with -flto. X-Git-Tag: import-tinc-1.1~300 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=2dc8deb1047a076d1c040f47bedf36ad4b41b17c;p=meshlink Ensure sptps_test compiles with -flto. --- diff --git a/src/sptps_test.c b/src/sptps_test.c index 2999d27f..952250a7 100644 --- a/src/sptps_test.c +++ b/src/sptps_test.c @@ -25,10 +25,9 @@ #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;