home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c185 / 2.ddi / OWLSRC.EXE / CSCAPE / SOURCE / OAKINT.C < prev    next >
Encoding:
C/C++ Source or Header  |  1989-09-06  |  372 b   |  28 lines

  1. /*
  2.       oakint.c 
  3.  
  4.     % int_min and int_max routines used by Oakland C-tools.
  5.  
  6.     OWL 1.1
  7.     Copyright (c) 1986, 1987, by Oakland Group, Inc.
  8.     ALL RIGHTS RESERVED.
  9.  
  10.     Revision History:
  11.     -----------------
  12. */
  13.  
  14. #include "oakhead.h"
  15.  
  16. int int_max(a, b)
  17.     int a, b;
  18. {
  19.     return( (a > b) ? a : b );
  20. }
  21.  
  22. int int_min(a, b)
  23.     int a, b;
  24. {
  25.     return( (a <= b) ? a : b);
  26. }
  27.  
  28.