X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fcommon%2Frexit.h;h=460cde0fa96c95a96096c650c5e37b465bcbfb05;hb=9281cb7dd7656ff5d19e0747f819051a884649ec;hp=15c39b93732ab888498849de9cf94658ca6a6adf;hpb=f6445615b0b81a83ef75cc4774bac992bac234bb;p=plomrogue diff --git a/src/common/rexit.h b/src/common/rexit.h index 15c39b9..460cde0 100644 --- a/src/common/rexit.h +++ b/src/common/rexit.h @@ -16,10 +16,10 @@ extern void set_cleanup_func(void (* f)()); * consists of "msg" or (if "msg" is NULL pointer) a generic "Details unknown" * and of errno's content (if it is non-zero). */ -extern void exit_err(int err, char * msg); +extern void exit_err(int err, const char * msg); /* Do exit_err() with "msg" as: "Trouble in ".parent." with ".child."." */ -extern void exit_trouble(int err, char * parent, char * child); +extern void exit_trouble(int err, const char * parent, const char * child);