commit 4e6ba575a66108f38a55cffdb197352757f77d78
parent 68260e85b5fd4f5e0bb87a4c58b187a8309b0cb5
Author: rl1987 <rl1987@sdf.lonestar.org>
Date: Tue, 26 Mar 2019 09:49:32 +0200
Add header guards to ptr_helpers.h
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git 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