X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=inline;f=src%2Frexit.c;h=802de341f44c98e09e61c6eab8510a2830b51eb4;hb=a114fa4f1f357895cf540972f20319b7a49c5984;hp=cb69ccd842c9275f41067e6704ae523bea9dfa60;hpb=9e12416aa36cc77957627900c2c1fc0055936504;p=plomrogue diff --git a/src/rexit.c b/src/rexit.c index cb69ccd..802de34 100644 --- a/src/rexit.c +++ b/src/rexit.c @@ -9,8 +9,6 @@ #include "map.h" /* for Map struct */ #include "keybindings.h" /* for KeysWinData, KeyBinding structs */ -#include "errno.h" - /* The clean-up routine and the flag resource by which it decides what to do. */ static uint8_t cleanup_flags = 0x00; @@ -73,7 +71,6 @@ extern void exit_err(uint8_t err, struct World * world, char * msg) msg = "Some error encountered. Aborted."; } printf("%s\n", msg); - errno = 0; perror("errno states"); exit(EXIT_FAILURE); }