Commit 1f29590
committed
fix(rack): use static inline for tcp_hw_highest_rate to fix -O0 link failure
Upstream FreeBSD 15.0 declares tcp_hw_highest_rate with GNU89 `inline`
(no `static`); under -O2 it is inlined away, but under -O0 (DEBUG) it
emits external references with no out-of-line definition in libfstack.a,
breaking example/ and app/nginx linking. Align with the same header's
other inline helpers which all use `static inline`.1 parent ae5a9f6 commit 1f29590
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments