mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix all nonconformant headers' guard macros.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
**/
|
||||
|
||||
#ifndef TOR_BTRACK_ORCONN_CEVENT_H
|
||||
#define TOR_BTRACK_ORCONN_CEVENT_H
|
||||
|
||||
#include "feature/control/btrack_orconn.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);
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -11,6 +11,7 @@
|
||||
**/
|
||||
|
||||
#ifndef TOR_TORLOG_H
|
||||
#define TOR_TORLOG_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include "lib/cc/torint.h"
|
||||
@@ -278,5 +279,4 @@ MOCK_DECL(STATIC void, logv, (int severity, log_domain_mask_t domain,
|
||||
va_list ap) CHECK_PRINTF(5,0));
|
||||
#endif
|
||||
|
||||
# define TOR_TORLOG_H
|
||||
#endif /* !defined(TOR_TORLOG_H) */
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
/* Copyright (c) 2014-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
#ifndef TOR_TEST_CONNECTION_H
|
||||
#define TOR_TEST_CONNECTION_H
|
||||
|
||||
/** Some constants used by test_connection and helpers */
|
||||
#define TEST_CONN_FAMILY (AF_INET)
|
||||
#define TEST_CONN_ADDRESS "127.0.0.1"
|
||||
@@ -11,3 +14,4 @@
|
||||
void test_conn_lookup_addr_helper(const char *address,
|
||||
int family, tor_addr_t *addr);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
#ifndef TOR_TEST_DIR_COMMON_H
|
||||
#define TOR_TEST_DIR_COMMON_H
|
||||
|
||||
#include "core/or/or.h"
|
||||
#include "feature/nodelist/networkstatus.h"
|
||||
|
||||
@@ -49,3 +52,4 @@ int dir_common_construct_vote_3(networkstatus_t **vote,
|
||||
networkstatus_t **vote_out, int *n_vrs, time_t now,
|
||||
int clear_rl);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user