Shuffle function prototypes, add missing include and add missing prototypes.
Shuffle function prototypes, add missing include and add missing
prototypes.

ok kettenis@

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