summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2021-03-24 10:08:27 +0800
committerMoritz Angermann <moritz.angermann@gmail.com>2021-03-30 00:48:06 -0400
commit3c92fc1f0590759c815abd65e48e1df1b62a5df2 (patch)
treeb88ad0127158277cc03f320595b568fe211f9249
parent561e34e7b86382603b53b666ae863e35402e1a81 (diff)
downloadhaskell-3c92fc1f0590759c815abd65e48e1df1b62a5df2.tar.gz
[linker] align prototype with implementation signature.
(cherry picked from commit eaea79c4ee1322a065c2059df74ee564c93968e4)
-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