summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi/acpidebug.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2018-06-29 11:45:50 +0000
committerclaudio <claudio@openbsd.org>2018-06-29 11:45:50 +0000
commit5d2e648fc161b927eaa73281c44542710ce1ad0b (patch)
tree74e21365a90a6abc44b58c06d16a9b08621b54ed /sys/dev/acpi/acpidebug.c
parentACPI: Allow (with warning) GPE handler reassignment, instead of returning (diff)
downloadwireguard-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