diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2018-05-29 14:20:19 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-10-24 19:02:05 +1100 |
commit | 88275cf25800acbe9d431d6ee07dfe372d14bada (patch) | |
tree | ed66cccebcc8606cf70872a3da0f7decd8fa67ce /core/test/run-mem_region_release_unused_noalloc.c | |
parent | 4550c1a1850155ede4634cb925f59f4e8c31dcce (diff) | |
download | skiboot-88275cf25800acbe9d431d6ee07dfe372d14bada.zip skiboot-88275cf25800acbe9d431d6ee07dfe372d14bada.tar.gz skiboot-88275cf25800acbe9d431d6ee07dfe372d14bada.tar.bz2 |
core/test/run_mem_region: fix GCC8 compile error
[ Upstream commit b32ddeb7ea0de77864e463260c6bb1543e39fe78 ]
error: ‘const’ attribute on function returning ‘void’ [-Werror=attributes]
Fix by not putting the const attribute in the stub
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'core/test/run-mem_region_release_unused_noalloc.c')
-rw-r--r-- | core/test/run-mem_region_release_unused_noalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/test/run-mem_region_release_unused_noalloc.c b/core/test/run-mem_region_release_unused_noalloc.c index 1ad4abb..6ae7959 100644 --- a/core/test/run-mem_region_release_unused_noalloc.c +++ b/core/test/run-mem_region_release_unused_noalloc.c @@ -100,7 +100,7 @@ static void add_mem_node(uint64_t start, uint64_t len) free(name); } -void __attrconst add_chip_dev_associativity(struct dt_node *dev __attribute__((unused))) +void add_chip_dev_associativity(struct dt_node *dev __attribute__((unused))) { } |