exit-status: remove ExitStatus typedef
authorLennart Poettering <lennart@poettering.net>
Mon, 10 Oct 2016 18:08:41 +0000 (20:08 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 10 Oct 2016 18:08:41 +0000 (20:08 +0200)
commit65e3fd83c98a44111c1b05a6e0d492dcab58853b
treeb390312dc48bc763d6303caa13e06f33018df973
parent642d6665f431c246e466703cdd4f32814603b579
exit-status: remove ExitStatus typedef

Do not make up our own type for ExitStatus, but use the type used by POSIX for
this, which is "int".  In particular as we never used that type outside of the
definition of exit_status_to_string() where we internally cast the paramter to
(int) every single time we used it.

Hence, let's simplify things, drop the type and use the kernel type directly.
src/basic/exit-status.c
src/basic/exit-status.h