compat/atomics: rename header guards
authorJames Almer <jamrial@gmail.com>
Fri, 2 Dec 2016 23:08:49 +0000 (20:08 -0300)
committerJames Almer <jamrial@gmail.com>
Fri, 2 Dec 2016 23:08:54 +0000 (20:08 -0300)
Fixes fate-source.

Signed-off-by: James Almer <jamrial@gmail.com>
compat/atomics/dummy/stdatomic.h
compat/atomics/gcc/stdatomic.h
compat/atomics/pthread/stdatomic.h
compat/atomics/suncc/stdatomic.h
compat/atomics/win32/stdatomic.h

index 841c046..c26f629 100644 (file)
@@ -21,8 +21,8 @@
  * Copyright (C) 2010 Rémi Denis-Courmont
  */
 
-#ifndef FFMPEG_COMPAT_ATOMICS_DUMMY_STDATOMIC_H
-#define FFMPEG_COMPAT_ATOMICS_DUMMY_STDATOMIC_H
+#ifndef COMPAT_ATOMICS_DUMMY_STDATOMIC_H
+#define COMPAT_ATOMICS_DUMMY_STDATOMIC_H
 
 #include <stdint.h>
 
@@ -173,4 +173,4 @@ FETCH_MODIFY(and, &)
 #define atomic_flag_clear_explicit(object, order) \
     atomic_flag_clear(object)
 
-#endif /* FFMPEG_COMPAT_ATOMICS_DUMMY_STDATOMIC_H */
+#endif /* COMPAT_ATOMICS_DUMMY_STDATOMIC_H */
index 55cc4e4..41cadde 100644 (file)
@@ -21,8 +21,8 @@
  * Copyright (C) 2010 Rémi Denis-Courmont
  */
 
-#ifndef FFMPEG_COMPAT_ATOMICS_GCC_STDATOMIC_H
-#define FFMPEG_COMPAT_ATOMICS_GCC_STDATOMIC_H
+#ifndef COMPAT_ATOMICS_GCC_STDATOMIC_H
+#define COMPAT_ATOMICS_GCC_STDATOMIC_H
 
 #include <stddef.h>
 #include <stdint.h>
@@ -170,4 +170,4 @@ do {                                    \
 #define atomic_flag_clear_explicit(object, order) \
     atomic_flag_clear(object)
 
-#endif /* FFMPEG_COMPAT_ATOMICS_GCC_STDATOMIC_H */
+#endif /* COMPAT_ATOMICS_GCC_STDATOMIC_H */
index 60f9a9d..1b7278e 100644 (file)
@@ -21,8 +21,8 @@
  * Copyright (C) 2010 Rémi Denis-Courmont
  */
 
-#ifndef FFMPEG_COMPAT_ATOMICS_PTHREAD_STDATOMIC_H
-#define FFMPEG_COMPAT_ATOMICS_PTHREAD_STDATOMIC_H
+#ifndef COMPAT_ATOMICS_PTHREAD_STDATOMIC_H
+#define COMPAT_ATOMICS_PTHREAD_STDATOMIC_H
 
 #include <stdint.h>
 
@@ -194,4 +194,4 @@ FETCH_MODIFY(and, &)
 #define atomic_flag_clear_explicit(object, order) \
     atomic_flag_clear(object)
 
-#endif /* FFMPEG_COMPAT_ATOMICS_PTHREAD_STDATOMIC_H */
+#endif /* COMPAT_ATOMICS_PTHREAD_STDATOMIC_H */
index 43cd78d..119c2ba 100644 (file)
@@ -16,8 +16,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef FFMPEG_COMPAT_ATOMICS_SUNCC_STDATOMIC_H
-#define FFMPEG_COMPAT_ATOMICS_SUNCC_STDATOMIC_H
+#ifndef COMPAT_ATOMICS_SUNCC_STDATOMIC_H
+#define COMPAT_ATOMICS_SUNCC_STDATOMIC_H
 
 #include <atomic.h>
 #include <mbarrier.h>
@@ -183,4 +183,4 @@ static inline intptr_t atomic_fetch_and(intptr_t *object, intptr_t operand)
 #define atomic_flag_clear_explicit(object, order) \
     atomic_flag_clear(object)
 
-#endif /* FFMPEG_COMPAT_ATOMICS_SUNCC_STDATOMIC_H */
+#endif /* COMPAT_ATOMICS_SUNCC_STDATOMIC_H */
index 376da73..4cbba9c 100644 (file)
@@ -16,8 +16,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef FFMPEG_COMPAT_ATOMICS_WIN32_STDATOMIC_H
-#define FFMPEG_COMPAT_ATOMICS_WIN32_STDATOMIC_H
+#ifndef COMPAT_ATOMICS_WIN32_STDATOMIC_H
+#define COMPAT_ATOMICS_WIN32_STDATOMIC_H
 
 #include <stddef.h>
 #include <stdint.h>
@@ -176,4 +176,4 @@ static inline int atomic_compare_exchange_strong(intptr_t *object, intptr_t *exp
 #define atomic_flag_clear_explicit(object, order) \
     atomic_flag_clear(object)
 
-#endif /* FFMPEG_COMPAT_ATOMICS_WIN32_STDATOMIC_H */
+#endif /* COMPAT_ATOMICS_WIN32_STDATOMIC_H */