Commit c404689
committed
use wrapper function instead of variable for freebsd
This variable made me look various times to find if it was (e.g.)
needed to stub out the function in (unit)tests, but it looks like
it was only there for convenience (not having to define a function).
Let's change it to a regular function that wraps the underlying
implementation to prevent this confusion.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>1 parent 21f3f33 commit c404689
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments