1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
/*
* $Id: debug.c,v 1.1.1.1 2002/03/28 00:02:10 andrew_belov Exp $
* ---------------------------------------------------------------------------
* Debug-related procedures are located here. In case of "clean" compile, this
* file may be omitted.
*
*/
#include <time.h>
#include "arj.h"
DEBUGHDR(__FILE__) /* Debug information block */
/* Debug information report */
#ifdef DEBUG
int debug_report(char *module, unsigned int line, char sign)
{
printf("\n*** [%c] %s:%u ***\n", sign, module, line);
return(0);
}
#endif
|