summaryrefslogtreecommitdiffstats
path: root/libf2c/libF77/hl_lt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libf2c/libF77/hl_lt.c')
-rw-r--r--libf2c/libF77/hl_lt.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libf2c/libF77/hl_lt.c b/libf2c/libF77/hl_lt.c
new file mode 100644
index 00000000000..162d919c3b4
--- /dev/null
+++ b/libf2c/libF77/hl_lt.c
@@ -0,0 +1,12 @@
+#include "f2c.h"
+
+#ifdef KR_headers
+extern integer s_cmp();
+shortlogical hl_lt(a,b,la,lb) char *a, *b; ftnlen la, lb;
+#else
+extern integer s_cmp(char *, char *, ftnlen, ftnlen);
+shortlogical hl_lt(char *a, char *b, ftnlen la, ftnlen lb)
+#endif
+{
+return(s_cmp(a,b,la,lb) < 0);
+}
OpenPOWER on IntegriCloud