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