home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / f2c / f77lib / h_dim.c < prev    next >
C/C++ Source or Header  |  2000-06-22  |  163b  |  11 lines

  1. #include "f2c.h"
  2.  
  3. #ifdef KR_headers
  4. shortint h_dim(a,b) shortint *a, *b;
  5. #else
  6. shortint h_dim(shortint *a, shortint *b)
  7. #endif
  8. {
  9. return( *a > *b ? *a - *b : 0);
  10. }
  11.