Commit 01f582a
authored
Fix errors raised by missing-prototypes (#46)
Since commit 0fcb708, the Linux kernel globally enforces function
prototype checks. This mandates that each function must have a
declaration to confirm that both the caller and the callee anticipate
the same argument types. Failing to meet this requirement could lead to
serious bugs caused by mismatched prototypes. Therefore, this commit
requires us to add function prototypes to the header files or to declare
functions as static, ensuring compatibility with these changes.1 parent 0f28083 commit 01f582a
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