diff options
Diffstat (limited to 'lib/libF77/h_dim.c')
| -rw-r--r-- | lib/libF77/h_dim.c | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/lib/libF77/h_dim.c b/lib/libF77/h_dim.c new file mode 100644 index 000000000000..ceff660e26cd --- /dev/null +++ b/lib/libF77/h_dim.c @@ -0,0 +1,10 @@ +#include "f2c.h" + +#ifdef KR_headers +shortint h_dim(a,b) shortint *a, *b; +#else +shortint h_dim(shortint *a, shortint *b) +#endif +{ +return( *a > *b ? *a - *b : 0); +} | 
