diff options
author | 2018-06-29 11:45:50 +0000 | |
---|---|---|
committer | 2018-06-29 11:45:50 +0000 | |
commit | 5d2e648fc161b927eaa73281c44542710ce1ad0b (patch) | |
tree | 74e21365a90a6abc44b58c06d16a9b08621b54ed /sys/dev/acpi/acpidebug.c | |
parent | ACPI: Allow (with warning) GPE handler reassignment, instead of returning (diff) | |
download | wireguard-openbsd-5d2e648fc161b927eaa73281c44542710ce1ad0b.tar.xz wireguard-openbsd-5d2e648fc161b927eaa73281c44542710ce1ad0b.zip |
Prepare the ground for allowing temporary aspath object living on the stack.
To do this path_copy() gets a second argument (dst, src) and a new function
path_prep() is introduced to initialize an aspath object. The current
path_copy() usage is replaced with path_copy(path_get(), asp) which does
the same. Additionally some const where added to the *_copy functions to
make it more obvious which is the source and target. Also the pftable_ref()
and rtlabel_ref() functions return now the id instead of void.
OK sthen@
Diffstat (limited to 'sys/dev/acpi/acpidebug.c')
0 files changed, 0 insertions, 0 deletions