diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2004-02-29 19:27:25 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2004-02-29 19:27:25 +0000 |
commit | 06bbcaeb9d33fce156543e2d84b1df4a0a9e1127 (patch) | |
tree | 8614ca58169c994e07adc995d206e8434b020c5d /gnu/lib/libf2c/libI77/dolio.c | |
parent | 4a95829907bd98f42503d9e6f91af8df4c9313ab (diff) |
Import of libf2c from gcc3.3.2
Diffstat (limited to 'gnu/lib/libf2c/libI77/dolio.c')
-rw-r--r-- | gnu/lib/libf2c/libI77/dolio.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/lib/libf2c/libI77/dolio.c b/gnu/lib/libf2c/libI77/dolio.c new file mode 100644 index 00000000000..1e0c3779bb5 --- /dev/null +++ b/gnu/lib/libf2c/libI77/dolio.c @@ -0,0 +1,21 @@ +#include "config.h" +#include "f2c.h" + +#ifdef __cplusplus +extern "C" { +#endif +#ifdef KR_headers +extern int (*f__lioproc)(); + +integer do_lio(type,number,ptr,len) ftnint *number,*type; char *ptr; ftnlen len; +#else +extern int (*f__lioproc)(ftnint*, char*, ftnlen, ftnint); + +integer do_lio(ftnint *type, ftnint *number, char *ptr, ftnlen len) +#endif +{ + return((*f__lioproc)(number,ptr,len,*type)); +} +#ifdef __cplusplus + } +#endif |