git: init(8): Convert to use sig_atomic_t.
Rimvydas Jasinskas
zrj at crater.dragonflybsd.org
Thu Feb 1 23:44:16 PST 2018
commit d8312043cd33bb890d59c2707bc599e306700d30
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Mon Jan 29 17:57:51 2018 +0200
init(8): Convert to use sig_atomic_t.
Instead of returning function pointer, now return enum for the next state.
Avoids -Wcast-function-type warnings.
Taken-from: OpenBSD
Summary of changes:
sbin/init/init.c | 161 ++++++++++++++++++++++++++++++++-----------------------
1 file changed, 93 insertions(+), 68 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d8312043cd33bb890d59c2707bc599e306700d30
--
DragonFly BSD source repository
More information about the Commits
mailing list