aboutsummaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-03-25 14:01:20 +1000
committerteor <teor@torproject.org>2019-03-25 14:01:20 +1000
commitd4d541c53c209370ae33f5f6caad2ec13743a4ba (patch)
treea1430960358386b53007e22f5b12eeaf7ad32f45 /src/feature
parent9d0ce0afcce9bbf969d11ba081f829aef5071e9c (diff)
parent065b74fa36344295a12f53e7399e7b20c6d887e0 (diff)
downloadtor-d4d541c53c209370ae33f5f6caad2ec13743a4ba.tar.gz
tor-d4d541c53c209370ae33f5f6caad2ec13743a4ba.zip
Merge remote-tracking branch 'tor-github/pr/785'
Diffstat (limited to 'src/feature')
-rw-r--r--src/feature/control/btrack_orconn_cevent.h1
-rw-r--r--src/feature/control/btrack_orconn_maps.h1
-rw-r--r--src/feature/hs/hs_stats.h4
3 files changed, 6 insertions, 0 deletions
diff --git a/src/feature/control/btrack_orconn_cevent.h b/src/feature/control/btrack_orconn_cevent.h
index f9d24633aa..954b452451 100644
--- a/src/feature/control/btrack_orconn_cevent.h
+++ b/src/feature/control/btrack_orconn_cevent.h
@@ -7,6 +7,7 @@
**/
#ifndef TOR_BTRACK_ORCONN_CEVENT_H
+#define TOR_BTRACK_ORCONN_CEVENT_H
#include "feature/control/btrack_orconn.h"
diff --git a/src/feature/control/btrack_orconn_maps.h b/src/feature/control/btrack_orconn_maps.h
index 3ead40984c..2065eb61b2 100644
--- a/src/feature/control/btrack_orconn_maps.h
+++ b/src/feature/control/btrack_orconn_maps.h
@@ -7,6 +7,7 @@
**/
#ifndef TOR_BTRACK_ORCONN_MAPS_H
+#define TOR_BTRACK_ORCONN_MAPS_H
void bto_delete(uint64_t);
bt_orconn_t *bto_find_or_new(uint64_t, uint64_t);
diff --git a/src/feature/hs/hs_stats.h b/src/feature/hs/hs_stats.h
index d89440faca..ca048e2123 100644
--- a/src/feature/hs/hs_stats.h
+++ b/src/feature/hs/hs_stats.h
@@ -6,9 +6,13 @@
* \brief Header file for hs_stats.c
**/
+#ifndef TOR_HS_STATS_H
+#define TOR_HS_STATS_H
+
void hs_stats_note_introduce2_cell(int is_hsv3);
uint32_t hs_stats_get_n_introduce2_v3_cells(void);
uint32_t hs_stats_get_n_introduce2_v2_cells(void);
void hs_stats_note_service_rendezvous_launch(void);
uint32_t hs_stats_get_n_rendezvous_launches(void);
+#endif