/*static char *SCCSID = "@(#)cmdebug.h	6.2 90/12/10";                                 */
/****************************************************************************/
/*                                                                          */
/*                       IBM/Microsoft Confidential                         */
/*                                                                          */
/*                 Copyright (c) IBM Corporation  1987, 1990                */
/*                 Copyright (c) Microsoft Corp.  1987, 1990                */
/*                           All Rights Reserved                            */
/*                                                                          */
/****************************************************************************/
/********** START OF SPECIFICATIONS ****** IBM CONFIDENTIAL **********/
/*                                                                   */
/* SOURCE FILE NAME: CMDEBUG.H                                       */
/*                                                                   */
/* DESCRIPTIVE NAME: Define MACRO to trace for debug                 */
/*                                                                   */
/* FUNCTION:                                                         */
/*                                                                   */
/*     This include file is included in all utility common           */
/*     subroutines. It provides some macroes to generate code        */
/*     displaying the control flow.                                  */
/*                                                                   */
/*     To generate debuging code, you have to add -DTRACE            */
/*     as parameter of CFLAGS in makefile.                           */
/*                                                                   */
/*             CFLAGS= -DDEBUG                                       */
/*                                                                   */
/* EXTERNAL REFERENCE:  none                                         */
/*                                                                   */
/* RELEASE:                                                          */
/*                                                                   */
/*   VERSION      DATE           REASON                              */
/*                                                                   */
/*     1.00    12/09/1986      initial version                       */
/*********************************************************************/
#ifdef DEBUG
  #define DCALL(x)  printf("call: %s\n",#x)
  #define DRETCD    printf("ret : rc = %d\n",rc)
  #define DRET      printf("ret :\n")
#else
  #define DCALL(X)
  #define DRETCD
  #define DRET
#endif
#define NULL 0
