Commit 5fb4cd1
console: make panic()'s declaration noreturn
Instead of attaching the __noreturn annotation to the definition,
attach it to the declaration of panic() to make callers aware that
this function won't return.
Signed-off-by: Mathias Krause <minipli@grsecurity.net>1 parent 317c75d commit 5fb4cd1
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
0 commit comments