Commit dd75574
committed
Fix errors raised by missing-prototypes
The recent upstream(commit 0fcb708) in the Linux kernel globally
enforce function prototype checks. This means that it's crucial
for each function to have a declaration to validate that both the
caller and the callee expect the same argument types. Failure to
comply with this requirement may result in real bugs due to
mismatched prototypes. Therefore, in this commit, we need to add
function prototypes to the header files or declare functions with
static to ensure compatibility with these changes.1 parent 0f28083 commit dd75574
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
117 | 124 | | |
118 | 125 | | |
119 | 126 | | |
| |||
0 commit comments