summaryrefslogtreecommitdiff
path: root/gnu/egcs/libf2c/libF77/h_mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/egcs/libf2c/libF77/h_mod.c')
-rw-r--r--gnu/egcs/libf2c/libF77/h_mod.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/egcs/libf2c/libF77/h_mod.c b/gnu/egcs/libf2c/libF77/h_mod.c
new file mode 100644
index 00000000000..43431c1c503
--- /dev/null
+++ b/gnu/egcs/libf2c/libF77/h_mod.c
@@ -0,0 +1,10 @@
+#include "f2c.h"
+
+#ifdef KR_headers
+shortint h_mod(a,b) short *a, *b;
+#else
+shortint h_mod(short *a, short *b)
+#endif
+{
+return( *a % *b);
+}