summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2016-01-28 18:00:33 -0800
committerTimothy Gu <timothygu99@gmail.com>2016-01-28 19:49:48 -0800
commit44304ae3220f553d0b1458644e2a617ea1ad8d22 (patch)
tree90f08e24290d98cce881b05fce33fa9bcecbcea4 /libavutil
parent6bc610b39efed743a8616104ce59c860f20487ef (diff)
all: Add missing header guards
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/aarch64/neontest.h5
-rw-r--r--libavutil/arm/neontest.h5
-rw-r--r--libavutil/opencl_internal.h5
-rw-r--r--libavutil/qsort.h5
-rw-r--r--libavutil/x86/w64xmmtest.h5
5 files changed, 25 insertions, 0 deletions
diff --git a/libavutil/aarch64/neontest.h b/libavutil/aarch64/neontest.h
index b9d4986072..2d0fc19994 100644
--- a/libavutil/aarch64/neontest.h
+++ b/libavutil/aarch64/neontest.h
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVUTIL_AARCH64_NEONTEST_H
+#define AVUTIL_AARCH64_NEONTEST_H
+
#include <inttypes.h>
#include <stdint.h>
#include <stdlib.h>
@@ -63,3 +66,5 @@
int __real_ ## func; \
int __wrap_ ## func; \
int __wrap_ ## func
+
+#endif /* AVUTIL_AARCH64_NEONTEST_H */
diff --git a/libavutil/arm/neontest.h b/libavutil/arm/neontest.h
index f668c00733..d75ab8380b 100644
--- a/libavutil/arm/neontest.h
+++ b/libavutil/arm/neontest.h
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVUTIL_ARM_NEONTEST_H
+#define AVUTIL_ARM_NEONTEST_H
+
#include <inttypes.h>
#include <stdint.h>
#include <stdlib.h>
@@ -60,3 +63,5 @@
int __real_ ## func; \
int __wrap_ ## func; \
int __wrap_ ## func
+
+#endif /* AVUTIL_ARM_NEONTEST_H */
diff --git a/libavutil/opencl_internal.h b/libavutil/opencl_internal.h
index ddc6d3acba..5cabb7b3ee 100644
--- a/libavutil/opencl_internal.h
+++ b/libavutil/opencl_internal.h
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVUTIL_OPENCL_INTERNAL_H
+#define AVUTIL_OPENCL_INTERNAL_H
+
#include "attributes.h"
#include "opencl.h"
@@ -33,3 +36,5 @@ typedef struct {
av_warn_unused_result
int avpriv_opencl_set_parameter(FFOpenclParam *opencl_param, ...);
+
+#endif /* AVUTIL_OPENCL_INTERNAL_H */
diff --git a/libavutil/qsort.h b/libavutil/qsort.h
index eda24b023c..39b7a08852 100644
--- a/libavutil/qsort.h
+++ b/libavutil/qsort.h
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVUTIL_QSORT_H
+#define AVUTIL_QSORT_H
+
#include "common.h"
@@ -115,3 +118,5 @@
FFSWAP(type*, p, tmp);\
}\
} while (0)
+
+#endif /* AVUTIL_QSORT_H */
diff --git a/libavutil/x86/w64xmmtest.h b/libavutil/x86/w64xmmtest.h
index 9df499f7f6..a4a05b0419 100644
--- a/libavutil/x86/w64xmmtest.h
+++ b/libavutil/x86/w64xmmtest.h
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVUTIL_X86_W64XMMTEST_H
+#define AVUTIL_X86_W64XMMTEST_H
+
#include <inttypes.h>
#include <stdint.h>
#include <stdlib.h>
@@ -71,3 +74,5 @@
int __real_ ## func; \
int __wrap_ ## func; \
int __wrap_ ## func
+
+#endif /* AVUTIL_X86_W64XMMTEST_H */