home *** CD-ROM | disk | FTP | other *** search
/ Informática Multimedia: Special Games (Alt) / INFESPGAMES.iso / os2 / backgam / source / prototyp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-29  |  1.3 KB  |  37 lines

  1. /*************************************************************
  2.  *    ______                                                 *
  3.  *   /     /\  TinyFugue was derived from a client initially *
  4.  *  /   __/  \ written by Anton Rang (Tarrant) and later     *
  5.  *  |  / /\  | modified by Leo Plotkin (Grod).  The early    *
  6.  *  |  |/    | versions of TinyFugue written by Greg Hudson  *
  7.  *  |  X__/  | (Explorer_Bob).  The current version is       *
  8.  *  \ /      / written and maintained by Ken Keys (Hawkeye), *
  9.  *   \______/  who can be reached at kkeys@ucsd.edu.         *
  10.  *                                                           *
  11.  *             No copyright 1992, no rights reserved.        *
  12.  *             Fugue is in the public domain.                *
  13.  *************************************************************/
  14.  
  15. /***************************************
  16.  * ANSI/traditional C prototype macros *
  17.  ***************************************/
  18.  
  19. #ifdef __STDC__
  20. # ifndef PROTOTYPES
  21. #  define PROTOTYPES
  22. # endif
  23. # define PDECL(f, p)      f p
  24. #else
  25. # define PDECL(f, p)      f()
  26. #endif
  27.  
  28. #ifdef PROTOTYPES
  29. # define NDECL(f)        f(void)
  30. # define FDECL(f, p)     f p
  31. # define VDECL(f, p)     f p
  32. #else
  33. # define NDECL(f)        f()
  34. # define FDECL(f, p)     f()
  35. # define VDECL(f, p)     f()
  36. #endif
  37.