mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Remove constification of argv in main.
This commit is contained in:
parent
a9fa555c51
commit
5e2ef06c07
@ -1,3 +1,9 @@
|
|||||||
|
2007-10-30 Micah Cowan <micah@cowan.name>
|
||||||
|
|
||||||
|
* main.c (main): Declare argv parameter as char **argv, rather
|
||||||
|
than char *const *argv. This fixes usage of getopt_long,
|
||||||
|
regardless of whether getopt_long has a constified argv or not.
|
||||||
|
|
||||||
2007-10-22 Gisle Vanem <gvanem@broadpark.no>
|
2007-10-22 Gisle Vanem <gvanem@broadpark.no>
|
||||||
|
|
||||||
* mswindows.c: Move INHIBIT_WRAP macro definition up with wget.h
|
* mswindows.c: Move INHIBIT_WRAP macro definition up with wget.h
|
||||||
|
@ -688,7 +688,7 @@ There is NO WARRANTY, to the extent permitted by law.\n"), stdout);
|
|||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char *const *argv)
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
char **url, **t;
|
char **url, **t;
|
||||||
int i, ret, longindex;
|
int i, ret, longindex;
|
||||||
|
Loading…
Reference in New Issue
Block a user