Mark shutdown_reboot() and shutdown_power_off() as NO_RETURN.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 9 Nov 2008 23:40:18 +0000 (15:40 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 9 Nov 2008 23:40:18 +0000 (15:40 -0800)
commit253a082737f2cb56bbbef10263c5600eda1c4645
tree03eaf526659691ef9bfd8e99dbdafcc099ae90b1
parent8334a8754dff78f83676742beb52c32d4cd8661e
Mark shutdown_reboot() and shutdown_power_off() as NO_RETURN.

Also, make shutdown_reboot() actually behave that way, by trying to reboot
forever instead of giving up after some number of tries.
src/devices/shutdown.c
src/devices/shutdown.h