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;