Commit fe3cdda
Voucher portability fixes.
* The `VOUCHER_USE_MACH_VOUCHER` branch defines `_voucher_atfork_parent`
but the `#else` branch does not. Assume it should look like the
implementation for `_voucher_atfork_child` nearby.
* Compiler complains about `voucher_process_can_use_arbitrary_personas`
not having a previous prototype. This actually isn't used anywhere
outside the `VOUCHER_USE_MACH_VOUCHER` branch, so remove it.
* Ensure `voucher_needs_adopt` is `static` inline, otherwise the linker
gives "multiple definition" errors despite it being marked as inline.1 parent 6215978 commit fe3cdda
3 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1987 | 1987 | | |
1988 | 1988 | | |
1989 | 1989 | | |
1990 | | - | |
1991 | | - | |
| 1990 | + | |
| 1991 | + | |
1992 | 1992 | | |
1993 | | - | |
1994 | 1993 | | |
1995 | 1994 | | |
1996 | 1995 | | |
1997 | | - | |
| 1996 | + | |
1998 | 1997 | | |
1999 | 1998 | | |
2000 | 1999 | | |
| |||
0 commit comments