What changed, and why it matters
This commit is purely a code formatting change. It reorders two #include lines in a C header file so they are sorted alphabetically, matching the project's clang-format style. No functionality was changed, no security bug was fixed, and no new attack surface was introduced.
No action required. This is a non-functional formatting commit and can be treated as routine maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff in src/rust/bitbox02-sys/wrapper.h moves #include <usb/usb_processing.h> from before #include <system.h> to after #include <usb/usb.h>. This is a cosmetic reordering of includes to satisfy alphabetical ordering. There are no semantic changes to the code, no changes to preprocessor guards, and no modifications to any function or type definitions.
Changed components
src/rust/bitbox02-sys/wrapper.hInspect captured patch +1 / −1
diff --git a/src/rust/bitbox02-sys/wrapper.h b/src/rust/bitbox02-sys/wrapper.h
index 69447cb..936c634 100644
--- a/src/rust/bitbox02-sys/wrapper.h
+++ b/src/rust/bitbox02-sys/wrapper.h
@@ -28,7 +28,6 @@
#include <secp256k1_ecdsa_adaptor.h>
#include <secp256k1_ecdsa_s2c.h>
#include <securechip/securechip.h>
-#include <usb/usb_processing.h>
#include <system.h>
#include <time.h>
#include <ui/components/confirm.h>
@@ -53,6 +52,7 @@
#include <ui/screen_stack.h>
#include <ui/ugui/ugui.h>
#include <usb/usb.h>
+#include <usb/usb_processing.h>
#include <util.h>
#if defined(TESTING)
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.