Standardize header guards for libdawn headers

This commit is contained in:
Corentin Wallez 2018-07-24 16:30:14 +02:00 committed by Corentin Wallez
parent 6c27fd9c94
commit e37234cd22
4 changed files with 25 additions and 25 deletions

View File

@ -12,8 +12,8 @@
//* See the License for the specific language governing permissions and //* See the License for the specific language governing permissions and
//* limitations under the License. //* limitations under the License.
#ifndef DAWN_H #ifndef DAWN_DAWN_H_
#define DAWN_H #define DAWN_DAWN_H_
#include <stdint.h> #include <stdint.h>
#include <stddef.h> #include <stddef.h>
@ -100,4 +100,4 @@ void dawnSetProcs(const dawnProcTable* procs);
} // extern "C" } // extern "C"
#endif #endif
#endif // DAWN_H #endif // DAWN_DAWN_H_

View File

@ -12,8 +12,8 @@
//* See the License for the specific language governing permissions and //* See the License for the specific language governing permissions and
//* limitations under the License. //* limitations under the License.
#ifndef DAWNCPP_H #ifndef DAWN_DAWNCPP_H_
#define DAWNCPP_H #define DAWN_DAWNCPP_H_
#include "dawn.h" #include "dawn.h"
@ -160,4 +160,4 @@ namespace dawn {
} // namespace dawn } // namespace dawn
#endif // DAWNCPP_H #endif // DAWN_DAWNCPP_H_

View File

@ -12,8 +12,8 @@
//* See the License for the specific language governing permissions and //* See the License for the specific language governing permissions and
//* limitations under the License. //* limitations under the License.
#ifndef DAWNCPP_TRAITS_H #ifndef DAWN_DAWNCPP_TRAITS_H_
#define DAWNCPP_TRAITS_H #define DAWN_DAWNCPP_TRAITS_H_
#include "dawncpp.h" #include "dawncpp.h"
@ -40,4 +40,4 @@ namespace dawn {
} }
#endif // DAWNCPP_TRAITS_H #endif // DAWN_DAWNCPP_TRAITS_H_

View File

@ -1,19 +1,19 @@
//* Copyright 2017 The Dawn Authors // Copyright 2017 The Dawn Authors
//* //
//* Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
//* you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
//* You may obtain a copy of the License at // You may obtain a copy of the License at
//* //
//* http://www.apache.org/licenses/LICENSE-2.0 // http://www.apache.org/licenses/LICENSE-2.0
//* //
//* Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
//* distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
//* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//* See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
//* limitations under the License. // limitations under the License.
#ifndef DAWN_WSI_H #ifndef DAWN_DAWN_WSI_H_
#define DAWN_WSI_H #define DAWN_DAWN_WSI_H_
#include <dawn/dawn.h> #include <dawn/dawn.h>
@ -82,4 +82,4 @@ typedef struct {
} dawnWSIContextVulkan; } dawnWSIContextVulkan;
#endif #endif
#endif // DAWN_WSI_H #endif // DAWN_DAWN_WSI_H