home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / Samples / CSAPE32.ARJ / SOURCE / OWLSCR / OAKINT.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-03-28  |  389 b   |  27 lines

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