From 2195d627fb793fec6c00bdddf1c4d46982b9f27f Mon Sep 17 00:00:00 2001 From: ljo Date: Wed, 26 Oct 1994 18:17:41 +0000 Subject: Library for f2c (part 2 of 2) Obtained from: netlib.att.com --- lib/libF77/ef1cmc_.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lib/libF77/ef1cmc_.c (limited to 'lib/libF77/ef1cmc_.c') diff --git a/lib/libF77/ef1cmc_.c b/lib/libF77/ef1cmc_.c new file mode 100644 index 0000000..8239a6b --- /dev/null +++ b/lib/libF77/ef1cmc_.c @@ -0,0 +1,14 @@ +/* EFL support routine to compare two character strings */ + +#include "f2c.h" + +#ifdef KR_headers +extern integer s_cmp(); +integer ef1cmc_(a, la, b, lb) ftnint *a, *b; ftnlen *la, *lb; +#else +extern integer s_cmp(char*,char*,ftnlen,ftnlen); +integer ef1cmc_(ftnint *a, ftnlen *la, ftnint *b, ftnlen *lb) +#endif +{ +return( s_cmp( (char *)a, (char *)b, *la, *lb) ); +} -- cgit v1.1