aboutsummaryrefslogtreecommitdiff
path: root/src/test/ptr_helpers.h
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2019-03-26 09:49:32 +0200
committerrl1987 <rl1987@sdf.lonestar.org>2019-03-26 09:49:32 +0200
commit4e6ba575a66108f38a55cffdb197352757f77d78 (patch)
treeb1744aacf89b56e3400ecf3036a7d1a89cc8bf6b /src/test/ptr_helpers.h
parent68260e85b5fd4f5e0bb87a4c58b187a8309b0cb5 (diff)
downloadtor-4e6ba575a66108f38a55cffdb197352757f77d78.tar.gz
tor-4e6ba575a66108f38a55cffdb197352757f77d78.zip
Add header guards to ptr_helpers.h
Diffstat (limited to 'src/test/ptr_helpers.h')
-rw-r--r--src/test/ptr_helpers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/ptr_helpers.h b/src/test/ptr_helpers.h
index fe2c8c9705..67776b1006 100644
--- a/src/test/ptr_helpers.h
+++ b/src/test/ptr_helpers.h
@@ -3,6 +3,9 @@
* Copyright (c) 2007-2019, The Tor Project, Inc. */
/* See LICENSE for licensing information */
+#ifndef TOR_PTR_HELPERS_H
+#define TOR_PTR_HELPERS_H
+
#include <stdint.h>
void *
@@ -16,3 +19,5 @@ cast_uintptr_to_voidstar(uintptr_t x);
uintptr_t
cast_voidstar_to_uintptr(void *x);
+
+#endif