From: Kirill Isakov Date: Thu, 29 Jul 2021 17:28:16 +0000 (+0600) Subject: Remove unused types. X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=ed2dddd420c8718006008b68e29ee93c5a1c3a79;p=tinc Remove unused types. --- diff --git a/src/net.h b/src/net.h index ba4cdb44..419f961f 100644 --- a/src/net.h +++ b/src/net.h @@ -101,12 +101,6 @@ typedef struct vpn_packet_t { #define PKT_MAC 2 #define PKT_PROBE 4 -typedef enum packet_type_t { - PACKET_NORMAL, - PACKET_COMPRESSED, - PACKET_PROBE -} packet_type_t; - typedef struct listen_socket_t { io_t tcp; io_t udp; diff --git a/src/splay_tree.h b/src/splay_tree.h index d5ab7421..86d2b067 100644 --- a/src/splay_tree.h +++ b/src/splay_tree.h @@ -41,7 +41,6 @@ typedef struct splay_node_t { typedef int (*splay_compare_t)(const void *data1, const void *data2); typedef void (*splay_action_t)(const void *data); -typedef void (*splay_action_node_t)(const splay_node_t *node); typedef struct splay_tree_t {