From 7d8c80c9a05d7ecfda59ef1eeb27e4eda1f121ff Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Fri, 3 Apr 2015 11:07:11 +0800 Subject: [PATCH] fix Issue #256 --- skynet-src/malloc_hook.h | 6 +++--- skynet-src/rwlock.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/skynet-src/malloc_hook.h b/skynet-src/malloc_hook.h index e7beb1a7..d35551d1 100644 --- a/skynet-src/malloc_hook.h +++ b/skynet-src/malloc_hook.h @@ -1,5 +1,5 @@ -#ifndef __MALLOC_HOOK_H -#define __MALLOC_HOOK_H +#ifndef SKYNET_MALLOC_HOOK_H +#define SKYNET_MALLOC_HOOK_H #include @@ -10,5 +10,5 @@ extern size_t mallctl_int64(const char* name, size_t* newval); extern int mallctl_opt(const char* name, int* newval); extern void dump_c_mem(void); -#endif /* __MALLOC_HOOK_H */ +#endif /* SKYNET_MALLOC_HOOK_H */ diff --git a/skynet-src/rwlock.h b/skynet-src/rwlock.h index 46357764..e366f18c 100644 --- a/skynet-src/rwlock.h +++ b/skynet-src/rwlock.h @@ -1,5 +1,5 @@ -#ifndef _RWLOCK_H_ -#define _RWLOCK_H_ +#ifndef SKYNET_RWLOCK_H +#define SKYNET_RWLOCK_H struct rwlock { int write;