about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2023-10-11 23:14:33 +0800
committerGitHub <noreply@github.com>2023-10-11 17:14:33 +0200
commit5863dc6c7cf3f56e0a850773a4241d67630d2045 (patch)
tree711c57c5100627ca754a3ecf4432fce9a766eda5 /src
parent2a3923a173b54ca5aac3002230930863e6ccdbe0 (diff)
downloadbox64-5863dc6c7cf3f56e0a850773a4241d67630d2045.tar.gz
box64-5863dc6c7cf3f56e0a850773a4241d67630d2045.zip
[RV64_DYNAREC] Fix a build warning (#1020)
```
warning: implicit declaration of function 'rv64_lock_get_b'
```
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/rv64/rv64_lock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dynarec/rv64/rv64_lock.h b/src/dynarec/rv64/rv64_lock.h
index 67fc9ed6..8f9d95b1 100644
--- a/src/dynarec/rv64/rv64_lock.h
+++ b/src/dynarec/rv64/rv64_lock.h
@@ -51,6 +51,9 @@ extern void rv64_lock_store_dd(void*p, uint64_t v);
 extern int rv64_lock_cas_dq(void* p, uint64_t ref, uint64_t val1, uint64_t val2);
 
 // atomic get (with memory barrier)
+extern uint32_t rv64_lock_get_b(void* p);
+
+// atomic get (with memory barrier)
 extern uint32_t rv64_lock_get_d(void* p);
 
 // atomic get (with memory barrier)