~ubuntu-branches/ubuntu/precise/arj/precise-security

« back to all changes in this revision

Viewing changes to debug.h

  • Committer: Bazaar Package Importer
  • Author(s): Guillem Jover
  • Date: 2004-06-27 08:07:09 UTC
  • Revision ID: james.westby@ubuntu.com-20040627080709-1gkxm72ex66gkwe4
Tags: upstream-3.10.21
ImportĀ upstreamĀ versionĀ 3.10.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * $Id: debug.h,v 1.1.1.1 2002/03/28 00:02:10 andrew_belov Exp $
 
3
 * ---------------------------------------------------------------------------
 
4
 * Prototypes of the functions located in DEBUG.C are declared here.
 
5
 *
 
6
 */
 
7
 
 
8
#ifndef DEBUG_INCLUDED
 
9
#define DEBUG_INCLUDED
 
10
 
 
11
/* Prototypes */
 
12
 
 
13
#ifdef DEBUG
 
14
int debug_report(char *module, unsigned int line, char sign);
 
15
#define debug_assert(f) if(!(f)) debug_report(dbg_cur_file, __LINE__, 'A')
 
16
#else
 
17
#define debug_assert(f)
 
18
#endif
 
19
 
 
20
#endif