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 <<EOC;
const char* (compiled_features[]) =
const char *compiled_features[] =
{
EOC

View File

@ -1,5 +1,7 @@
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
large-file support. Replaced the "openssl" and "gnutls"
advertisements with a single "ssl/foo" advertisement.

View File

@ -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