Add header guards to ptr_helpers.h

This commit is contained in:
rl1987 2019-03-26 09:49:32 +02:00
parent 68260e85b5
commit 4e6ba575a6

View File

@ -3,6 +3,9 @@
* Copyright (c) 2007-2019, The Tor Project, Inc. */ * Copyright (c) 2007-2019, The Tor Project, Inc. */
/* See LICENSE for licensing information */ /* See LICENSE for licensing information */
#ifndef TOR_PTR_HELPERS_H
#define TOR_PTR_HELPERS_H
#include <stdint.h> #include <stdint.h>
void * void *
@ -16,3 +19,5 @@ cast_uintptr_to_voidstar(uintptr_t x);
uintptr_t uintptr_t
cast_voidstar_to_uintptr(void *x); cast_voidstar_to_uintptr(void *x);
#endif