summaryrefslogtreecommitdiffstats
path: root/libavutil/atomic_gcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/atomic_gcc.h')
-rw-r--r--libavutil/atomic_gcc.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/libavutil/atomic_gcc.h b/libavutil/atomic_gcc.h
index e2f3fe1..84ebcab 100644
--- a/libavutil/atomic_gcc.h
+++ b/libavutil/atomic_gcc.h
@@ -1,23 +1,26 @@
/*
* Copyright (c) 2012 Ronald S. Bultje <rsbultje@gmail.com>
*
- * This file is part of Libav.
+ * This file is part of FFmpeg.
*
- * Libav is free software; you can redistribute it and/or
+ * FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
- * Libav is distributed in the hope that it will be useful,
+ * FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with Libav; if not, write to the Free Software
+ * License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVUTIL_ATOMIC_GCC_H
+#define AVUTIL_ATOMIC_GCC_H
+
#include "atomic.h"
#define avpriv_atomic_int_get atomic_int_get_gcc
@@ -46,3 +49,5 @@ static inline void *atomic_ptr_cas_gcc(void * volatile *ptr,
{
return __sync_val_compare_and_swap(ptr, oldval, newval);
}
+
+#endif /* AVUTIL_ATOMIC_GCC_H */
OpenPOWER on IntegriCloud