diff options
author | Martin Storsjö <martin@martin.st> | 2019-02-13 17:02:54 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2019-02-13 17:09:03 +0300 |
commit | c45f6b379d98c3b32dfa7abda74434978aa94094 (patch) | |
tree | c4f5984c877768c70b01905425df37821e80f4e3 /include/dav1d | |
parent | 53025a2b32f35878c1c6c00bef4a51f239631955 (diff) |
Remove leading double underscores from include guard defines
A symbol starting with two leading underscores is reserved for
the compiler/standard library implementation.
Also remove the trailing two double underscores for consistency
and symmetry.
Diffstat (limited to 'include/dav1d')
-rw-r--r-- | include/dav1d/common.h | 6 | ||||
-rw-r--r-- | include/dav1d/data.h | 6 | ||||
-rw-r--r-- | include/dav1d/dav1d.h | 6 | ||||
-rw-r--r-- | include/dav1d/headers.h | 6 | ||||
-rw-r--r-- | include/dav1d/picture.h | 6 |
5 files changed, 15 insertions, 15 deletions
diff --git a/include/dav1d/common.h b/include/dav1d/common.h index 83257fc..5223f1e 100644 --- a/include/dav1d/common.h +++ b/include/dav1d/common.h @@ -25,8 +25,8 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef __DAV1D_COMMON_H__ -#define __DAV1D_COMMON_H__ +#ifndef DAV1D_COMMON_H +#define DAV1D_COMMON_H #include <stddef.h> #include <stdint.h> @@ -67,4 +67,4 @@ typedef struct Dav1dDataProps { struct Dav1dUserData user_data; ///< user-configurable data, default NULL members } Dav1dDataProps; -#endif /* __DAV1D_COMMON_H__ */ +#endif /* DAV1D_COMMON_H */ diff --git a/include/dav1d/data.h b/include/dav1d/data.h index 63f21fd..7fba991 100644 --- a/include/dav1d/data.h +++ b/include/dav1d/data.h @@ -25,8 +25,8 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef __DAV1D_DATA_H__ -#define __DAV1D_DATA_H__ +#ifndef DAV1D_DATA_H +#define DAV1D_DATA_H #include <stddef.h> #include <stdint.h> @@ -106,4 +106,4 @@ DAV1D_API int dav1d_data_wrap_user_data(Dav1dData *data, */ DAV1D_API void dav1d_data_unref(Dav1dData *data); -#endif /* __DAV1D_DATA_H__ */ +#endif /* DAV1D_DATA_H */ diff --git a/include/dav1d/dav1d.h b/include/dav1d/dav1d.h index 82f0a2c..af94804 100644 --- a/include/dav1d/dav1d.h +++ b/include/dav1d/dav1d.h @@ -25,8 +25,8 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef __DAV1D_H__ -#define __DAV1D_H__ +#ifndef DAV1D_H +#define DAV1D_H #ifdef __cplusplus extern "C" { @@ -201,4 +201,4 @@ DAV1D_API void dav1d_flush(Dav1dContext *c); } # endif -#endif /* __DAV1D_H__ */ +#endif /* DAV1D_H */ diff --git a/include/dav1d/headers.h b/include/dav1d/headers.h index f50a82e..2152650 100644 --- a/include/dav1d/headers.h +++ b/include/dav1d/headers.h @@ -25,8 +25,8 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef __DAV1D_HEADERS_H__ -#define __DAV1D_HEADERS_H__ +#ifndef DAV1D_HEADERS_H +#define DAV1D_HEADERS_H // Constants from Section 3. "Symbols and abbreviated terms" #define DAV1D_MAX_CDEF_STRENGTHS 8 @@ -382,4 +382,4 @@ typedef struct Dav1dFrameHeader { Dav1dWarpedMotionParams gmv[DAV1D_REFS_PER_FRAME]; } Dav1dFrameHeader; -#endif /* __DAV1D_HEADERS_H__ */ +#endif /* DAV1D_HEADERS_H */ diff --git a/include/dav1d/picture.h b/include/dav1d/picture.h index 7627f4d..f4354b1 100644 --- a/include/dav1d/picture.h +++ b/include/dav1d/picture.h @@ -25,8 +25,8 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef __DAV1D_PICTURE_H__ -#define __DAV1D_PICTURE_H__ +#ifndef DAV1D_PICTURE_H +#define DAV1D_PICTURE_H #include <stddef.h> #include <stdint.h> @@ -108,4 +108,4 @@ typedef struct Dav1dPicAllocator { */ DAV1D_API void dav1d_picture_unref(Dav1dPicture *p); -#endif /* __DAV1D_PICTURE_H__ */ +#endif /* DAV1D_PICTURE_H */ |