File: debug.c

package info (click to toggle)
arj 3.10.22-28
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,964 kB
  • sloc: ansic: 33,002; makefile: 2,014; sh: 1,587; asm: 436
file content (25 lines) | stat: -rw-r--r-- 552 bytes parent folder | download | duplicates (12)
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