aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-01-07 20:24:02 +0100
committerAaron Rossetto <aaron.rossetto@ni.com>2021-01-08 07:35:37 -0600
commit868de221e44315b8e6b11ccea12f5ce4aac66e29 (patch)
tree6381f25c951ae5777d89076da41e8db104662495 /host/include
parentca68195b5d12c5410cfac8d459a0b0902c4c72c7 (diff)
downloaduhd-868de221e44315b8e6b11ccea12f5ce4aac66e29.tar.gz
uhd-868de221e44315b8e6b11ccea12f5ce4aac66e29.tar.bz2
uhd-868de221e44315b8e6b11ccea12f5ce4aac66e29.zip
uhd: clang: Fix fallthrough attribute
See also: https://clang.llvm.org/docs/AttributeReference.html#fallthrough The attribute was missing a semicolon.
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/config.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/include/uhd/config.hpp b/host/include/uhd/config.hpp
index cef957652..99c3731c1 100644
--- a/host/include/uhd/config.hpp
+++ b/host/include/uhd/config.hpp
@@ -84,7 +84,7 @@ typedef ptrdiff_t ssize_t;
# define UHD_ALIGNED(x) __attribute__((aligned(x)))
# define UHD_UNUSED(x) x __attribute__((unused))
# if __clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 8)
-# define UHD_FALLTHROUGH [[clang:fallthrough]]
+# define UHD_FALLTHROUGH [[clang:fallthrough]];
# else
# define UHD_FALLTHROUGH
# endif