gerrit
2017-05-01 21:28:21 UTC
This is an automated email from Gerrit.
Steven Stallion (***@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/4117
-- gerrit
commit 8cb1218a1edfeefe45534a7d93691a94e7198c98
Author: Steven Stallion <***@squareup.com>
Date: Mon May 1 16:27:02 2017 -0500
aarch64: fix __unused macro definition
An improper macro definition causes build failures on hosts using Clang
to build OpenOCD. This was due to a typo in the attribute specifier.
Change-Id: Ia87ffcf8aeb1dacf0e60be5aea62e01797bac00a
Signed-off-by: Steven Stallion <***@squareup.com>
diff --git a/src/target/aarch64.c b/src/target/aarch64.c
index e647bba..d8a807d 100644
--- a/src/target/aarch64.c
+++ b/src/target/aarch64.c
@@ -30,7 +30,7 @@
#include "armv8_cache.h"
#include <helper/time_support.h>
-#define __unused __attribute((unused))
+#define __unused __attribute__((unused))
enum restart_mode {
RESTART_LAZY,
--
Steven Stallion (***@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/4117
-- gerrit
commit 8cb1218a1edfeefe45534a7d93691a94e7198c98
Author: Steven Stallion <***@squareup.com>
Date: Mon May 1 16:27:02 2017 -0500
aarch64: fix __unused macro definition
An improper macro definition causes build failures on hosts using Clang
to build OpenOCD. This was due to a typo in the attribute specifier.
Change-Id: Ia87ffcf8aeb1dacf0e60be5aea62e01797bac00a
Signed-off-by: Steven Stallion <***@squareup.com>
diff --git a/src/target/aarch64.c b/src/target/aarch64.c
index e647bba..d8a807d 100644
--- a/src/target/aarch64.c
+++ b/src/target/aarch64.c
@@ -30,7 +30,7 @@
#include "armv8_cache.h"
#include <helper/time_support.h>
-#define __unused __attribute((unused))
+#define __unused __attribute__((unused))
enum restart_mode {
RESTART_LAZY,
--