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