From: Micah Cowan Date: Fri, 9 Oct 2009 09:12:33 +0000 (-0700) Subject: Fix declaration of compiled_features. X-Git-Tag: v1.13~212 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=c86f7c7b82e80fd40e251946a0d81123c5b16719 Fix declaration of compiled_features. --- diff --git a/build-aux/build_info.pl b/build-aux/build_info.pl index 372fe42e..406c78d8 100755 --- a/build-aux/build_info.pl +++ b/build-aux/build_info.pl @@ -78,7 +78,7 @@ sub output_code print $fh do { local $/; }, "\n"; print $fh < + * main.c: Fix declaration of compiled_features. + * build_info.c.in: Adapt to new input format. Added a check for large-file support. Replaced the "openssl" and "gnutls" advertisements with a single "ssl/foo" advertisement. diff --git a/src/main.c b/src/main.c index 40ea4f76..ad39a53b 100644 --- a/src/main.c +++ b/src/main.c @@ -76,7 +76,7 @@ extern char *compilation_string; extern char *system_getrc; extern char *link_string; /* defined in build_info.c */ -extern char *compiled_features[]; +extern const char *compiled_features[]; /* Used for --version output in print_version */ #define MAX_CHARS_PER_LINE 72 #define TABULATION 4