summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2021-03-24 10:08:27 +0800
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-29 17:25:49 -0400
commit710ef9d253c6f35eed4139f585230428fa042194 (patch)
tree2d9d0c3b9f3fab17a836e2af84985850caffa01c
parentdc6fa61c7e8ca54e4b9feb6d2db59c4b365de09d (diff)
downloadhaskell-710ef9d253c6f35eed4139f585230428fa042194.tar.gz
[linker] align prototype with implementation signature.
-rw-r--r--rts/linker/MachO.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/linker/MachO.c b/rts/linker/MachO.c
index b17279d514..f301f0a340 100644
--- a/rts/linker/MachO.c
+++ b/rts/linker/MachO.c
@@ -52,8 +52,8 @@
*/
int64_t signExtend(uint64_t val, uint8_t bits);
/* Helper functions to check some instruction properties */
-bool isVectorOp(uint32_t *p);
-bool isLoadStore(uint32_t *p);
+static bool isVectorOp(uint32_t *p);
+static bool isLoadStore(uint32_t *p);
/* aarch64 relocations may contain an addend already in the position
* where we want to write the address offset to. Thus decoding as well