Soe we're finally back at reducing the memory footprint be avoiding to pull in large C-library enitities.

This commit is contained in:
oliverschmidt 2007-12-16 13:08:09 +00:00
parent c7a24bf6cf
commit 8644822a34
5 changed files with 45 additions and 32 deletions

View file

@ -30,21 +30,21 @@
*
* Author: Oliver Schmidt <ol.sc@web.de>
*
* $Id: error.c,v 1.1 2007/12/08 22:16:57 oliverschmidt Exp $
* $Id: error.c,v 1.2 2007/12/16 13:12:49 oliverschmidt Exp $
*/
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include "sys/log.h"
#include "lib/error.h"
/*-----------------------------------------------------------------------------------*/
void
error_exit(void)
{
fprintf(stderr, "Press any key to continue ...\n");
cgetc();
log_message("Press any key to continue ...", "");
ctk_arch_getkey();
exit(EXIT_FAILURE);
}
/*-----------------------------------------------------------------------------------*/