summaryrefslogtreecommitdiff
path: root/gcc/f/runtime/libF77/i_mod.c
diff options
context:
space:
mode:
authorNo Author <no-author@gcc.gnu.org>1997-08-21 22:58:49 +0000
committerNo Author <no-author@gcc.gnu.org>1997-08-21 22:58:49 +0000
commit9d67cee02262346526bb25cbcf54750ebf134ecb (patch)
treeb5402095de45a8d16fd7dd80a4fa06b7f02a0bda /gcc/f/runtime/libF77/i_mod.c
parent2f08086dbba6a317202d4655c14984f55c84e1b0 (diff)
This commit was manufactured by cvs2svn to create tag 'start'.misc/start
From-SVN: r14881
Diffstat (limited to 'gcc/f/runtime/libF77/i_mod.c')
-rw-r--r--gcc/f/runtime/libF77/i_mod.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/f/runtime/libF77/i_mod.c b/gcc/f/runtime/libF77/i_mod.c
new file mode 100644
index 00000000000..6937c421357
--- /dev/null
+++ b/gcc/f/runtime/libF77/i_mod.c
@@ -0,0 +1,10 @@
+#include "f2c.h"
+
+#ifdef KR_headers
+integer i_mod(a,b) integer *a, *b;
+#else
+integer i_mod(integer *a, integer *b)
+#endif
+{
+return( *a % *b);
+}