about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wrapped/wrappedlibc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c
index fd3dfe80..f334b09b 100644
--- a/src/wrapped/wrappedlibc.c
+++ b/src/wrapped/wrappedlibc.c
@@ -3675,7 +3675,8 @@ EXPORT char* my_program_invocation_short_name = NULL;
 EXPORT char my___libc_single_threaded = 0;
 
 #ifdef STATICBUILD
-uint32_t arc4random() __attribute__((weak))
+uint32_t get_random32();
+__attribute__((weak)) uint32_t arc4random()
 {
     return get_random32();
 }