about summary refs log tree commit diff
path: root/tests/auxiliary
diff options
context:
space:
mode:
authorBen Kimock <kimockb@gmail.com>2024-04-15 23:46:27 -0400
committerBen Kimock <kimockb@gmail.com>2024-04-17 15:08:08 -0400
commitb91c1aafecdd804f3d12eae857671d2059e87c2e (patch)
tree1b6d30b6f15ee851bf9a46b9e63feb3495b07529 /tests/auxiliary
parentc45dee5efd0c042e9d1e24559ebd0d6424d8aa70 (diff)
downloadrust-b91c1aafecdd804f3d12eae857671d2059e87c2e.tar.gz
rust-b91c1aafecdd804f3d12eae857671d2059e87c2e.zip
Clean up users of rust_dbg_call
Diffstat (limited to 'tests/auxiliary')
-rw-r--r--tests/auxiliary/rust_test_helpers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auxiliary/rust_test_helpers.c b/tests/auxiliary/rust_test_helpers.c
index 965df44c676..34cc7fd5dfb 100644
--- a/tests/auxiliary/rust_test_helpers.c
+++ b/tests/auxiliary/rust_test_helpers.c
@@ -27,10 +27,10 @@ rust_dbg_extern_identity_u8(char u) {
     return u;
 }
 
-typedef void *(*dbg_callback)(void*);
+typedef uint64_t (*dbg_callback)(uint64_t);
 
-void *
-rust_dbg_call(dbg_callback cb, void *data) {
+uint64_t
+rust_dbg_call(dbg_callback cb, uint64_t data) {
     return cb(data);
 }