home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Server/py: Remove superfluous os.fsync().
[plomrogue]
/
src
/
common
/
rexit.h
diff --git
a/src/common/rexit.h
b/src/common/rexit.h
index 15c39b93732ab888498849de9cf94658ca6a6adf..85fb648507e27f415e23e63d329a549908a4886f 100644
(file)
--- a/
src/common/rexit.h
+++ b/
src/common/rexit.h
@@
-1,4
+1,8
@@
/* src/common/rexit.h
/* src/common/rexit.h
+ *
+ * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+ * or any later version. For details on its copyright, license, and warranties,
+ * see the file NOTICE in the root directory of the PlomRogue source package.
*
* Routines to exit the game orderly on error, with cleaning up and a somewhat
* informative message.
*
* Routines to exit the game orderly on error, with cleaning up and a somewhat
* informative message.
@@
-16,10
+20,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).
*/
* 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, c
onst c
har * msg);
/* Do exit_err() with "msg" as: "Trouble in ".parent." with ".child."." */
/* Do exit_err() with "msg" as: "Trouble in ".parent." with ".child."." */
-extern void exit_trouble(int err, c
har * parent,
char * child);
+extern void exit_trouble(int err, c
onst char * parent, const
char * child);