commit 4e6ba575a66108f38a55cffdb197352757f77d78 Author: rl1987 rl1987@sdf.lonestar.org Date: Tue Mar 26 09:49:32 2019 +0200
Add header guards to ptr_helpers.h --- src/test/ptr_helpers.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/src/test/ptr_helpers.h b/src/test/ptr_helpers.h index fe2c8c970..67776b100 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
tor-commits@lists.torproject.org