home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made single World struct a global variable, fitted a lot of code to this change,...
[plomrogue]
/
src
/
rexit.h
diff --git
a/src/rexit.h
b/src/rexit.h
index 4c6ddb00dbf4da8f9dec44da1bc9432ab5017871..3ccd4707d4f7905a4b7a5128f44c96c2feede609 100644
(file)
--- a/
src/rexit.h
+++ b/
src/rexit.h
@@
-10,7
+10,6
@@
#include <stdint.h> /* for uint8_t */
#include <stdint.h> /* for uint8_t */
-struct World;
@@
-34,7
+33,7
@@
extern void set_cleanup_flag(enum cleanup_flag flag);
/* Exit orderly, clean up. */
/* Exit orderly, clean up. */
-extern void exit_game(
struct World * world
);
+extern void exit_game();
@@
-43,7
+42,7
@@
extern void exit_game(struct World * world);
* unknown", secondly of "err" as the "internal error code", and thirdly of
* errno if it is non-zero.
*/
* unknown", secondly of "err" as the "internal error code", and thirdly of
* errno if it is non-zero.
*/
-extern void exit_err(uint8_t err,
struct World * world,
char * msg);
+extern void exit_err(uint8_t err, char * msg);