mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-23 18:14:56 +01:00
30 lines
424 B
C
30 lines
424 B
C
/* Set up the global argc/argv info for use by getarg_, iargc_, and
|
|
g77's inlined intrinsic equivalents. */
|
|
|
|
#ifndef KR_headers
|
|
#undef VOID
|
|
#include <stdlib.h>
|
|
#endif
|
|
|
|
#ifndef VOID
|
|
#define VOID void
|
|
#endif
|
|
|
|
int f__xargc;
|
|
char **f__xargv;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
void
|
|
#ifdef KR_headers
|
|
f_setarg(argc, argv) int argc; char **argv;
|
|
#else
|
|
f_setarg(int argc, char **argv)
|
|
#endif
|
|
{
|
|
f__xargc = argc;
|
|
f__xargv = argv;
|
|
}
|