git: lib/libstand: Remove exit declaration from stand.h.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sun Mar 13 05:31:21 PDT 2016


commit 4b7bb8379a689115fec7ca1b1a6293a01f83db01
Author: Imre Vadász <imre at vdsz.com>
Date:   Sat Mar 12 14:39:02 2016 +0100

    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.

Summary of changes:
 lib/libstand/assert.c | 7 ++-----
 lib/libstand/stand.h  | 2 --
 2 files changed, 2 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4b7bb8379a689115fec7ca1b1a6293a01f83db01


-- 
DragonFly BSD source repository



More information about the Commits mailing list