include header for prototype, declare correctly, cast for local variable use.
include header for prototype, declare correctly, cast for local variable use.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars