From 5e15d2d44382a636aaf57be93d7839bae4bf622d Mon Sep 17 00:00:00 2001 From: Francesco Salvestrini Date: Tue, 23 Sep 2008 22:57:55 +0200 Subject: [PATCH] Fixed guards --- src/libs/conf/base.h | 6 +++--- src/libs/conf/reader.h | 6 +++--- src/libs/conf/writer.h | 6 +++--- src/libs/misc/constant.h | 6 +++--- src/libs/misc/debug.h | 6 +++--- src/libs/misc/environment.h | 6 +++--- src/libs/misc/thread.h | 6 +++--- src/libs/misc/trace.h | 6 +++--- src/libs/misc/utility.h | 6 +++--- src/libs/net/uuid.h | 6 +++--- src/libs/vm/lua.h | 6 +++--- src/libs/vm/vm.h | 6 +++--- 12 files changed, 36 insertions(+), 36 deletions(-) diff --git a/src/libs/conf/base.h b/src/libs/conf/base.h index 443c391..1fe5e33 100644 --- a/src/libs/conf/base.h +++ b/src/libs/conf/base.h @@ -16,8 +16,8 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. // -#ifndef CONF_BASE_H -#define CONF_BASE_H +#ifndef LIBS_CONF_BASE_H +#define LIBS_CONF_BASE_H #include "config.h" @@ -79,4 +79,4 @@ namespace Configuration { }; }; -#endif // CONF_BASE_H +#endif // LIBS_CONF_BASE_H diff --git a/src/libs/conf/reader.h b/src/libs/conf/reader.h index e47805d..f5df5a4 100644 --- a/src/libs/conf/reader.h +++ b/src/libs/conf/reader.h @@ -16,8 +16,8 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. // -#ifndef CONF_READER_H -#define CONF_READER_H +#ifndef LIBS_CONF_READER_H +#define LIBS_CONF_READER_H #include "config.h" @@ -50,4 +50,4 @@ namespace Configuration { }; }; -#endif // CONF_READER_H +#endif // LIBS_CONF_READER_H diff --git a/src/libs/conf/writer.h b/src/libs/conf/writer.h index 8b8a1a5..9ef085f 100644 --- a/src/libs/conf/writer.h +++ b/src/libs/conf/writer.h @@ -16,8 +16,8 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. // -#ifndef CONF_WRITER_H -#define CONF_WRITER_H +#ifndef LIBS_CONF_WRITER_H +#define LIBS_CONF_WRITER_H #include "config.h" @@ -51,4 +51,4 @@ namespace Configuration { }; }; -#endif // CONF_WRITER_H +#endif // LIBS_CONF_WRITER_H diff --git a/src/libs/misc/constant.h b/src/libs/misc/constant.h index a35f3d9..d8985a9 100644 --- a/src/libs/misc/constant.h +++ b/src/libs/misc/constant.h @@ -18,12 +18,12 @@ #include "config.h" -#ifndef CONSTANT_H -#define CONSTANT_H +#ifndef LIBS_MISC_CONSTANT_H +#define LIBS_MISC_CONSTANT_H #define KB 1024 #define MB 1024 * KB #define GB 1024 * MB #define MIN_MEM_FOR_VM (64 * KB) -#endif // CONSTANT_H +#endif // LIBS_MISC_CONSTANT_H diff --git a/src/libs/misc/debug.h b/src/libs/misc/debug.h index 3540a3c..ab26d97 100644 --- a/src/libs/misc/debug.h +++ b/src/libs/misc/debug.h @@ -16,8 +16,8 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. // -#ifndef DEBUG_H -#define DEBUG_H +#ifndef LIBS_MISC_DEBUG_H +#define LIBS_MISC_DEBUG_H #include "config.h" @@ -56,4 +56,4 @@ extern void backtrace_dump(void); __PRETTY_FUNCTION__, __FILE__, __LINE__); \ } -#endif // DEBUG_H +#endif // LIBS_MISC_DEBUG_H diff --git a/src/libs/misc/environment.h b/src/libs/misc/environment.h index 209a2b0..ea6be82 100644 --- a/src/libs/misc/environment.h +++ b/src/libs/misc/environment.h @@ -16,8 +16,8 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. // -#ifndef ENVIRONMENT_H -#define ENVIRONMENT_H +#ifndef LIBS_MISC_ENVIRONMENT_H +#define LIBS_MISC_ENVIRONMENT_H #include "config.h" @@ -31,4 +31,4 @@ namespace Environment { const std::string & value); }; -#endif // ENVIRONMENT_H +#endif // LIBS_MISC_ENVIRONMENT_H diff --git a/src/libs/misc/thread.h b/src/libs/misc/thread.h index b4abe1a..7a5577a 100644 --- a/src/libs/misc/thread.h +++ b/src/libs/misc/thread.h @@ -16,9 +16,9 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. // -#ifndef THREAD_H -#define THREAD_H +#ifndef LIBS_MISC_THREAD_H +#define LIBS_MISC_THREAD_H #include "config.h" -#endif // THREAD_H +#endif // LIBS_MISC_THREAD_H diff --git a/src/libs/misc/trace.h b/src/libs/misc/trace.h index 3fe0e42..230894c 100644 --- a/src/libs/misc/trace.h +++ b/src/libs/misc/trace.h @@ -16,8 +16,8 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. // -#ifndef TRACES_H -#define TRACES_H +#ifndef LIBS_MISC_TRACES_H +#define LIBS_MISC_TRACES_H #include @@ -58,4 +58,4 @@ extern char * trace_prefix; #define TR_ERR(FMT,ARGS...) _TRACE(TR_LVL_ERROR, FMT, ##ARGS); #define TR_CRT(FMT,ARGS...) _TRACE(TR_LVL_CRITICAL, FMT, ##ARGS); -#endif // TRACES_H +#endif // LIBS_MISC_TRACES_H diff --git a/src/libs/misc/utility.h b/src/libs/misc/utility.h index c509c9f..40e0e18 100644 --- a/src/libs/misc/utility.h +++ b/src/libs/misc/utility.h @@ -18,9 +18,9 @@ #include "config.h" -#ifndef UTILITY_H -#define UTILITY_H +#ifndef LIBS_MISC_UTILITY_H +#define LIBS_MISC_UTILITY_H #define PLURAL(X) (((X) > 1) ? "s" : "") -#endif // UTILITY_H +#endif // LIBS_MISC_UTILITY_H diff --git a/src/libs/net/uuid.h b/src/libs/net/uuid.h index 01d407b..5cbd765 100644 --- a/src/libs/net/uuid.h +++ b/src/libs/net/uuid.h @@ -16,8 +16,8 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. // -#ifndef UUID_H -#define UUID_H +#ifndef LIBS_NET_UUID_H +#define LIBS_NET_UUID_H #include "config.h" @@ -67,4 +67,4 @@ namespace Net { }; }; -#endif // UUID_H +#endif // LIBS_NET_UUID_H diff --git a/src/libs/vm/lua.h b/src/libs/vm/lua.h index 09362f2..bd922d8 100644 --- a/src/libs/vm/lua.h +++ b/src/libs/vm/lua.h @@ -16,8 +16,8 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. // -#ifndef LUA_H -#define LUA_H +#ifndef LIBS_VM_LUA_H +#define LIBS_VM_LUA_H #include "config.h" @@ -49,4 +49,4 @@ namespace VM { }; #endif // HAVE_LUA -#endif // LUA_H +#endif // LIBS_VM_LUA_H diff --git a/src/libs/vm/vm.h b/src/libs/vm/vm.h index 34d130e..2d80dd6 100644 --- a/src/libs/vm/vm.h +++ b/src/libs/vm/vm.h @@ -16,8 +16,8 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. // -#ifndef VM_H -#define VM_H +#ifndef LIBS_VM_VM_H +#define LIBS_VM_VM_H #include "config.h" @@ -43,4 +43,4 @@ namespace VM { }; }; -#endif // VM_H +#endif // LIBS_VM_VM_H -- 2.11.4.GIT