summaryrefslogtreecommitdiff
path: root/Build/source/utils/pmx/pmx-2.6.18/libf2c/h_dim.c
blob: 443427a9b99a7e3c7d7e1541dcbd5bc4cdafa8b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "f2c.h"
#ifdef __cplusplus
extern "C" {
#endif

#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);
}
#ifdef __cplusplus
}
#endif