From: khizmax Date: Thu, 22 Jan 2015 11:53:36 +0000 (+0300) Subject: issue#11: tests/cppunit: changed .h file guard prefix to CDS_CPPUNIT_xxx X-Git-Tag: v2.1.0~305^2~99 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=commitdiff_plain;h=ec96e0ec7bcddad58e36da624443e5b42fa16b3c issue#11: tests/cppunit: changed .h file guard prefix to CDS_CPPUNIT_xxx --- diff --git a/tests/cppunit/cppunit_mini.h b/tests/cppunit/cppunit_mini.h index 46545a74..89ae6d0d 100644 --- a/tests/cppunit/cppunit_mini.h +++ b/tests/cppunit/cppunit_mini.h @@ -21,8 +21,8 @@ /* $Id$ */ -#ifndef _CPPUNITMPFR_H_ -#define _CPPUNITMPFR_H_ +#ifndef CDS_CPPUNIT_MPFR_H_ +#define CDS_CPPUNIT_MPFR_H_ #include #include @@ -366,4 +366,4 @@ namespace CppUnitMini error( "CPPUNIT_ASSERT_MSG", st.str().c_str(), __FILE__, __LINE__ ) ; \ } -#endif +#endif // #ifndef CDS_CPPUNIT_MPFR_H_ diff --git a/tests/cppunit/cppunit_proxy.h b/tests/cppunit/cppunit_proxy.h index a39cea4e..c4310bcc 100644 --- a/tests/cppunit/cppunit_proxy.h +++ b/tests/cppunit/cppunit_proxy.h @@ -17,8 +17,8 @@ /* $Id$ */ -#ifndef _CPPUNITPROXYINTERFACE_H_ -#define _CPPUNITPROXYINTERFACE_H_ +#ifndef CDS_CPPUNIT_PROXYINTERFACE_H_ +#define CDS_CPPUNIT_PROXYINTERFACE_H_ /* * STLport specific @@ -31,4 +31,4 @@ #include "cppunit/cppunit_mini.h" #include // for cds::atomicity::empty_item_counter -#endif +#endif // #ifndef CDS_CPPUNIT_PROXYINTERFACE_H_ diff --git a/tests/cppunit/file_reporter.h b/tests/cppunit/file_reporter.h index dec5b48a..1fe4a55d 100644 --- a/tests/cppunit/file_reporter.h +++ b/tests/cppunit/file_reporter.h @@ -17,8 +17,8 @@ /* $Id$ */ -#ifndef _CPPUNITMINIFILEREPORTERINTERFACE_H_ -#define _CPPUNITMINIFILEREPORTERINTERFACE_H_ +#ifndef CDS_CPPUNIT_MINIFILEREPORTERINTERFACE_H_ +#define CDS_CPPUNIT_MINIFILEREPORTERINTERFACE_H_ #include @@ -142,4 +142,4 @@ namespace CppUnitMini { FILE* _file; }; } -#endif /*_CPPUNITMINIFILEREPORTERINTERFACE_H_*/ +#endif // #ifndef CDS_CPPUNIT_MINIFILEREPORTERINTERFACE_H_ diff --git a/tests/cppunit/test_beans.h b/tests/cppunit/test_beans.h index ae3e4864..77654aa3 100644 --- a/tests/cppunit/test_beans.h +++ b/tests/cppunit/test_beans.h @@ -1,5 +1,9 @@ //$$CDS-header$$ +#ifndef CDS_CPPUNIT_TEST_BEANS_H +#define CDS_CPPUNIT_TEST_BEANS_H + + // Forward declarations namespace cds { namespace intrusive {} @@ -27,3 +31,5 @@ namespace test_beans { } }; } // namespace beans + +#endif // #ifndef CDS_CPPUNIT_TEST_BEANS_H diff --git a/tests/cppunit/thread.h b/tests/cppunit/thread.h index 468050dc..edf0577e 100644 --- a/tests/cppunit/thread.h +++ b/tests/cppunit/thread.h @@ -1,7 +1,7 @@ //$$CDS-header$$ -#ifndef __CPPUNIT_THREAD_H -#define __CPPUNIT_THREAD_H +#ifndef CDS_CPPUNIT_THREAD_H +#define CDS_CPPUNIT_THREAD_H #include #include "cppunit/cppunit_mini.h" @@ -131,4 +131,4 @@ namespace CppUnitMini { }; } -#endif // #ifndef __CPPUNIT_THREAD_H +#endif // #ifndef CDS_CPPUNIT_THREAD_H diff --git a/tests/unit/ellen_bintree_update_desc_pool.h b/tests/unit/ellen_bintree_update_desc_pool.h index cb599f4b..a3dcb856 100644 --- a/tests/unit/ellen_bintree_update_desc_pool.h +++ b/tests/unit/ellen_bintree_update_desc_pool.h @@ -1,7 +1,7 @@ //$$CDS-header$$ -#ifndef __CDS_UNIT_ELLEN_BINTREE_UPDATE_DESC_POOL_H -#define __CDS_UNIT_ELLEN_BINTREE_UPDATE_DESC_POOL_H +#ifndef CDSUNIT_ELLEN_BINTREE_UPDATE_DESC_POOL_H +#define CDSUNIT_ELLEN_BINTREE_UPDATE_DESC_POOL_H #include #include @@ -99,4 +99,4 @@ namespace ellen_bintree_pool { } // namespace ellen_bintree_pool -#endif // #ifndef __CDS_UNIT_ELLEN_BINTREE_UPDATE_DESC_POOL_H +#endif // #ifndef CDSUNIT_ELLEN_BINTREE_UPDATE_DESC_POOL_H diff --git a/tests/unit/michael_alloc.h b/tests/unit/michael_alloc.h index 74543870..aad1ef75 100644 --- a/tests/unit/michael_alloc.h +++ b/tests/unit/michael_alloc.h @@ -1,7 +1,7 @@ //$$CDS-header$$ -#ifndef __CDS_UNIT_MICHAEL_ALLOC_H -#define __CDS_UNIT_MICHAEL_ALLOC_H +#ifndef CDSUNIT_MICHAEL_ALLOC_H +#define CDSUNIT_MICHAEL_ALLOC_H #include #include @@ -64,4 +64,4 @@ namespace memory { }; } // namespace memory -#endif +#endif // #ifndef CDSUNIT_MICHAEL_ALLOC_H