lib/libstand: Remove exit declaration from stand.h.
authorImre Vadász <imre@vdsz.com>
Sat, 12 Mar 2016 13:39:02 +0000 (14:39 +0100)
committerImre Vadász <imre@vdsz.com>
Sun, 13 Mar 2016 12:29:12 +0000 (13:29 +0100)
commit4b7bb8379a689115fec7ca1b1a6293a01f83db01
treee804140fc9273faead6996542cf669e84a7a9bd7
parent6d3bd8e3942560036cf2aec0d98a65819c5f3b4c
lib/libstand: Remove exit declaration from stand.h.

* Use panic instead of printf+exit in __assert().

* In the UEFI bootloader, exit will be defined as
  void exit(EFI_STATUS status);
  where EFI_STATUS is a 64bit value. So we should avoid declaring exit()
  in stand.h, since it's not used in libstand anyway.

* All exit usages in sys/boot/common and sys/boot/pc32 already declare
  their own exit() prototype.
lib/libstand/assert.c
lib/libstand/stand.h