projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e28699c
)
Remove unused types.
author
Kirill Isakov
<is-kir@ya.ru>
Thu, 29 Jul 2021 17:28:16 +0000
(23:28 +0600)
committer
Kirill Isakov
<is-kir@ya.ru>
Thu, 29 Jul 2021 17:56:39 +0000
(23:56 +0600)
src/net.h
patch
|
blob
|
history
src/splay_tree.h
patch
|
blob
|
history
diff --git
a/src/net.h
b/src/net.h
index
ba4cdb4
..
419f961
100644
(file)
--- 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
d5ab742
..
86d2b06
100644
(file)
--- 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 {