diff options
author | obrien <obrien@FreeBSD.org> | 2003-01-29 05:16:58 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-01-29 05:16:58 +0000 |
commit | 2a78d374174da7d82b82642d154cdf290111231c (patch) | |
tree | 2d73b352488876b5ef17c8ff5cd89e8d7cbdf82c /contrib/gcc/gcc.c | |
parent | b19e045895ed95aebaba81ada09f2d0177439f24 (diff) | |
download | FreeBSD-src-2a78d374174da7d82b82642d154cdf290111231c.zip FreeBSD-src-2a78d374174da7d82b82642d154cdf290111231c.tar.gz |
main() changed its argv declaration, so follow suit in some FBSD added code.
Diffstat (limited to 'contrib/gcc/gcc.c')
-rw-r--r-- | contrib/gcc/gcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc/gcc.c b/contrib/gcc/gcc.c index c1e8bf9..b4e3ef7 100644 --- a/contrib/gcc/gcc.c +++ b/contrib/gcc/gcc.c @@ -3368,7 +3368,7 @@ process_command (argc, argv) int len; int optc = 1; int new_argc; - char **new_argv; + const char **new_argv; char *envopts; while (isspace (*temp)) @@ -3381,7 +3381,7 @@ process_command (argc, argv) if ((isspace (envopts[i])) && ! (isspace (envopts[i+1]))) optc++; - new_argv = (char **) alloca ((optc + argc) * sizeof(char *)); + new_argv = (const char **) alloca ((optc + argc) * sizeof(char *)); for (i = 0, new_argc = 1; new_argc <= optc; new_argc++) { |