summaryrefslogtreecommitdiff
path: root/Build/source/utils/pmx/pmx-2.6.18/libf2c/iargc_.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/pmx/pmx-2.6.18/libf2c/iargc_.c')
-rw-r--r--Build/source/utils/pmx/pmx-2.6.18/libf2c/iargc_.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/Build/source/utils/pmx/pmx-2.6.18/libf2c/iargc_.c b/Build/source/utils/pmx/pmx-2.6.18/libf2c/iargc_.c
new file mode 100644
index 00000000000..2f29da0eaa6
--- /dev/null
+++ b/Build/source/utils/pmx/pmx-2.6.18/libf2c/iargc_.c
@@ -0,0 +1,17 @@
+#include "f2c.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef KR_headers
+ftnint iargc_()
+#else
+ftnint iargc_(void)
+#endif
+{
+extern int xargc;
+return ( xargc - 1 );
+}
+#ifdef __cplusplus
+}
+#endif