X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fcommon%2Frexit.h;h=460cde0fa96c95a96096c650c5e37b465bcbfb05;hb=9c86eed25b9291dac2bd93882fd9d259bdf53201;hp=3095cf84234d3c29bb2a0ff1ccb6e7f4643cdc54;hpb=dd9d65ee727ac7e95801da0f8b5bae7009811802;p=plomrogue
diff --git a/src/common/rexit.h b/src/common/rexit.h
index 3095cf8..460cde0 100644
--- a/src/common/rexit.h
+++ b/src/common/rexit.h
@@ -13,14 +13,13 @@
extern void set_cleanup_func(void (* f)());
/* If "err" == 0, do nothing. Else, clean up and exit with an error message that
- * consists, first, of "msg" or (if "msg" is a NULL pointer) a generic "Details
- * unknown", secondly of "err" as the "internal error code", and thirdly of
- * errno if it is non-zero.
+ * 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);