Commit 930b773
uwe5622: fix -Wmissing-prototypes warnings (155 -> 2)
Add 'static' to file-private functions and cross-file forward
declarations to type-aware area headers. No functional change.
Verified building into kernel 6.18 (odroidm1): 0 errors, warnings 155 -> 2.
The two residuals are intentional: do_gettimeofday (driver redefines the
kernel-removed API, #defined elsewhere) and sleep_test_thread (a kthread
with an intentional infinite loop, where 'static' trips -Werror=return-type).
Assisted-by: Claude:claude-opus-4.81 parent 34fe8fc commit 930b773
2 files changed
Lines changed: 1308 additions & 0 deletions
File tree
- lib/functions/compilation/patch
- patch/misc/wireless-uwe5622
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
| 639 | + | |
| 640 | + | |
639 | 641 | | |
640 | 642 | | |
641 | 643 | | |
| |||
0 commit comments