mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
[NFC] Do not use reserved names for include guards (#1737)
Names that begin with an underscore followed by an uppercase letter are reserved for the C++ implementation. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
c8061ab21a
commit
475a37abbf
@@ -13,8 +13,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
#ifndef _COMMON_H_
|
||||
#define _COMMON_H_
|
||||
#ifndef COMMON_H_
|
||||
#define COMMON_H_
|
||||
|
||||
#include "harness/testHarness.h"
|
||||
#include "harness/typeWrappers.h"
|
||||
@@ -1567,4 +1567,4 @@ int CBasicTest<HostAtomicType, HostDataType>::ExecuteSingleTest(
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif //_COMMON_H_
|
||||
#endif // COMMON_H_
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
#ifndef _HOST_ATOMICS_H_
|
||||
#define _HOST_ATOMICS_H_
|
||||
#ifndef HOST_ATOMICS_H_
|
||||
#define HOST_ATOMICS_H_
|
||||
|
||||
#include "harness/testHarness.h"
|
||||
|
||||
@@ -247,4 +247,4 @@ CorrespondingType host_atomic_fetch_max(volatile AtomicType *a, CorrespondingTyp
|
||||
bool host_atomic_flag_test_and_set(volatile HOST_ATOMIC_FLAG *a, TExplicitMemoryOrderType order);
|
||||
void host_atomic_flag_clear(volatile HOST_ATOMIC_FLAG *a, TExplicitMemoryOrderType order);
|
||||
|
||||
#endif //_HOST_ATOMICS_H_
|
||||
#endif // HOST_ATOMICS_H_
|
||||
|
||||
Reference in New Issue
Block a user