From: Kirill Isakov Date: Thu, 29 Jul 2021 17:26:09 +0000 (+0600) Subject: Remove unused declarations. X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=e28699c190647aeeed32f2eeb0e46a82ab5e345c;p=tinc Remove unused declarations. --- diff --git a/src/ed25519/ed25519.h b/src/ed25519/ed25519.h index 65b191e3..8e3012f8 100644 --- a/src/ed25519/ed25519.h +++ b/src/ed25519/ed25519.h @@ -20,10 +20,6 @@ extern "C" { #endif -#ifndef ED25519_NO_SEED -int ED25519_DECLSPEC ed25519_create_seed(unsigned char *seed); -#endif - void ED25519_DECLSPEC ed25519_create_keypair(unsigned char *public_key, unsigned char *private_key, const unsigned char *seed); void ED25519_DECLSPEC ed25519_sign(unsigned char *signature, const unsigned char *message, size_t message_len, const unsigned char *public_key, const unsigned char *private_key); int ED25519_DECLSPEC ed25519_verify(const unsigned char *signature, const unsigned char *message, size_t message_len, const unsigned char *private_key); diff --git a/src/graph.h b/src/graph.h index fafffcb0..6dd929cc 100644 --- a/src/graph.h +++ b/src/graph.h @@ -22,6 +22,5 @@ */ extern void graph(void); -extern void dump_graph(void); #endif diff --git a/src/process.h b/src/process.h index c6ffda8b..5726df2c 100644 --- a/src/process.h +++ b/src/process.h @@ -23,9 +23,7 @@ extern bool do_detach; -extern void setup_signals(void); extern bool detach(void); -extern bool kill_other(int); #ifdef HAVE_MINGW #include "event.h" diff --git a/src/script.h b/src/script.h index 51720349..dfad55b8 100644 --- a/src/script.h +++ b/src/script.h @@ -28,7 +28,6 @@ typedef struct environment { } environment_t; extern int environment_add(environment_t *env, const char *format, ...); -extern int environment_placeholder(environment_t *env); extern void environment_update(environment_t *env, int pos, const char *format, ...); extern void environment_init(environment_t *env); extern void environment_exit(environment_t *env);