|
Last change
on this file since 603 was 2, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
424 bytes
|
| Line | |
|---|
| 1 | /* Set up the global argc/argv info for use by getarg_, iargc_, and
|
|---|
| 2 | g77's inlined intrinsic equivalents. */
|
|---|
| 3 |
|
|---|
| 4 | #ifndef KR_headers
|
|---|
| 5 | #undef VOID
|
|---|
| 6 | #include <stdlib.h>
|
|---|
| 7 | #endif
|
|---|
| 8 |
|
|---|
| 9 | #ifndef VOID
|
|---|
| 10 | #define VOID void
|
|---|
| 11 | #endif
|
|---|
| 12 |
|
|---|
| 13 | int f__xargc;
|
|---|
| 14 | char **f__xargv;
|
|---|
| 15 |
|
|---|
| 16 | #ifdef __cplusplus
|
|---|
| 17 | }
|
|---|
| 18 | #endif
|
|---|
| 19 |
|
|---|
| 20 | void
|
|---|
| 21 | #ifdef KR_headers
|
|---|
| 22 | f_setarg(argc, argv) int argc; char **argv;
|
|---|
| 23 | #else
|
|---|
| 24 | f_setarg(int argc, char **argv)
|
|---|
| 25 | #endif
|
|---|
| 26 | {
|
|---|
| 27 | f__xargc = argc;
|
|---|
| 28 | f__xargv = argv;
|
|---|
| 29 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.