diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2013-06-04 12:06:38 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-06-04 12:06:38 -0400 |
commit | 321aee618d65ae1c1419a1fcc11fdfd068995d38 (patch) | |
tree | aae8847c006d4cb80696ebc5a63937c08a9628e6 /src/libudev/exit-status.h | |
parent | fe41df03135a49f13ceda838ea453e9cb848ad39 (diff) |
src/libudev/{exit-status,macro,missing}.h: bring in line with upstream
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/exit-status.h')
-rw-r--r-- | src/libudev/exit-status.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libudev/exit-status.h b/src/libudev/exit-status.h index d3b548fc96..58f734b6f2 100644 --- a/src/libudev/exit-status.h +++ b/src/libudev/exit-status.h @@ -22,7 +22,9 @@ ***/ #include <stdbool.h> +#include "macro.h" #include "set.h" + typedef enum ExitStatus { /* EXIT_SUCCESS defined by libc */ /* EXIT_FAILURE defined by libc */ @@ -82,7 +84,7 @@ typedef struct ExitStatusSet { Set *signal; } ExitStatusSet; -const char* exit_status_to_string(ExitStatus status, ExitStatusLevel level); +const char* exit_status_to_string(ExitStatus status, ExitStatusLevel level) _const_; bool is_clean_exit(int code, int status, ExitStatusSet *success_status); bool is_clean_exit_lsb(int code, int status, ExitStatusSet *success_status); |