summaryrefslogtreecommitdiff
path: root/test/fuzz
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-10-11 16:00:51 +0700
committerhathach <[email protected]>2024-10-11 16:00:51 +0700
commitf3b7d7515e9cae834013dc9ee3a67d87111090eb (patch)
tree0a5f74bcb1537b1674722d9ca84a37b9ee352388 /test/fuzz
parentd997f0071ea5d2d07e340d183fffb97e09526773 (diff)
fix fuzzing build
Diffstat (limited to 'test/fuzz')
-rw-r--r--test/fuzz/dcd_fuzz.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fuzz/dcd_fuzz.cc b/test/fuzz/dcd_fuzz.cc
index 06ddddc4a..7ef0c7446 100644
--- a/test/fuzz/dcd_fuzz.cc
+++ b/test/fuzz/dcd_fuzz.cc
@@ -46,8 +46,8 @@ tu_static State state = {false, 0, 0};
// All no-ops as we are fuzzing.
//--------------------------------------------------------------------+
extern "C" {
-void dcd_init(uint8_t rhport) {
- UNUSED(rhport);
+void dcd_init(const tusb_rhport_init_t* rh_init) {
+ UNUSED(rh_init);
return;
}