freebsd-dev/contrib/libf2c/libF77/setarg.c

15 lines
246 B
C
Raw Normal View History

1999-09-18 10:51:31 +00:00
/* Set up the global argc/argv info for use by getarg_, iargc_, and
g77's inlined intrinsic equivalents. */
#include <stdlib.h>
int f__xargc;
char **f__xargv;
2003-07-11 03:42:19 +00:00
void
f_setarg (int argc, char **argv)
1999-09-18 10:51:31 +00:00
{
2003-07-11 03:42:19 +00:00
f__xargc = argc;
f__xargv = argv;
1999-09-18 10:51:31 +00:00
}