aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXuelin Shi <forrest.shi@linaro.org>2016-10-24 15:02:19 +0800
committerMaxim Uvarov <maxim.uvarov@linaro.org>2016-10-26 16:19:34 +0300
commite01d879bd344f89d25568d93531d457e87e80f6f (patch)
tree533825c9a80b2e24dc70d542dc3543cd4110cd4a
parentb35abec0dbb6fbbe747e1c66223d92fc921279bb (diff)
linux-generic: fix ISO C compiling issue with -Werror=pedantic
ISO C does not allow extra ‘;’ outside of a function. Signed-off-by: Xuelin Shi <forrest.shi@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
-rw-r--r--platform/linux-generic/include/odp/api/plat/atomic_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linux-generic/include/odp/api/plat/atomic_types.h b/platform/linux-generic/include/odp/api/plat/atomic_types.h
index 3bb2bbddb..33a0565b5 100644
--- a/platform/linux-generic/include/odp/api/plat/atomic_types.h
+++ b/platform/linux-generic/include/odp/api/plat/atomic_types.h
@@ -32,7 +32,7 @@ struct odp_atomic_u64_s {
* data types. We use a spin lock to ensure atomicity. */
char lock; /**< Spin lock (if needed) used to ensure atomic access */
#endif
-} ODP_ALIGNED(sizeof(uint64_t)); /* Enforce alignement! */;
+} ODP_ALIGNED(sizeof(uint64_t)); /* Enforce alignement! */
/**
* @internal
@@ -40,7 +40,7 @@ struct odp_atomic_u64_s {
*/
struct odp_atomic_u32_s {
uint32_t v; /**< Actual storage for the atomic variable */
-} ODP_ALIGNED(sizeof(uint32_t)); /* Enforce alignement! */;
+} ODP_ALIGNED(sizeof(uint32_t)); /* Enforce alignement! */
#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2