1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Fix declaration of compiled_features.

This commit is contained in:
Micah Cowan 2009-10-09 02:12:33 -07:00
parent 186ee6d0ff
commit c86f7c7b82
3 changed files with 4 additions and 2 deletions

View File

@ -78,7 +78,7 @@ sub output_code
print $fh do { local $/; <DATA> }, "\n"; print $fh do { local $/; <DATA> }, "\n";
print $fh <<EOC; print $fh <<EOC;
const char* (compiled_features[]) = const char *compiled_features[] =
{ {
EOC EOC

View File

@ -1,5 +1,7 @@
2009-10-09 Micah Cowan <micah@cowan.name> 2009-10-09 Micah Cowan <micah@cowan.name>
* main.c: Fix declaration of compiled_features.
* build_info.c.in: Adapt to new input format. Added a check for * build_info.c.in: Adapt to new input format. Added a check for
large-file support. Replaced the "openssl" and "gnutls" large-file support. Replaced the "openssl" and "gnutls"
advertisements with a single "ssl/foo" advertisement. advertisements with a single "ssl/foo" advertisement.

View File

@ -76,7 +76,7 @@ extern char *compilation_string;
extern char *system_getrc; extern char *system_getrc;
extern char *link_string; extern char *link_string;
/* defined in build_info.c */ /* defined in build_info.c */
extern char *compiled_features[]; extern const char *compiled_features[];
/* Used for --version output in print_version */ /* Used for --version output in print_version */
#define MAX_CHARS_PER_LINE 72 #define MAX_CHARS_PER_LINE 72
#define TABULATION 4 #define TABULATION 4