aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_connection.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-03-12 15:20:22 -0400
committerNick Mathewson <nickm@torproject.org>2019-03-12 15:20:22 -0400
commit065b74fa36344295a12f53e7399e7b20c6d887e0 (patch)
treea0900f542da1cef9f5411ce7299e48aa2b9d4620 /src/test/test_connection.h
parent95209be861738d15fdb8d3f8da9a6164ed5f3903 (diff)
downloadtor-065b74fa36344295a12f53e7399e7b20c6d887e0.tar.gz
tor-065b74fa36344295a12f53e7399e7b20c6d887e0.zip
Fix all nonconformant headers' guard macros.
Diffstat (limited to 'src/test/test_connection.h')
-rw-r--r--src/test/test_connection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test_connection.h b/src/test/test_connection.h
index 47a5599e5f..027e405d89 100644
--- a/src/test/test_connection.h
+++ b/src/test/test_connection.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