X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fexit-status.h;h=1f035a3007f7a727921afd9e2b166f9e0d7511be;hp=d3b548fc96ad40df3a0cee43612ee658deb6e290;hb=118ecf32425a590ea266b5c2b6de7962bb242356;hpb=96342de68d0d6de71a062d984dafd2a0905ed9fe diff --git a/src/shared/exit-status.h b/src/shared/exit-status.h index d3b548fc9..1f035a300 100644 --- a/src/shared/exit-status.h +++ b/src/shared/exit-status.h @@ -82,7 +82,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);