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
int i;
printf (_("GNU Wget %s built on %s.\n\n"), version_string, OS_TYPE);
- /* compiled_features is a char*[]. We limit the characters per
- line to MAX_CHARS_PER_LINE and prefix each line with a constant
- number of spaces for proper alignment. */
+
for (i = 0; compiled_features[i] != NULL; )
{
int line_length = MAX_CHARS_PER_LINE;
printf ("\n");
}
printf ("\n");
+
/* Handle the case when $WGETRC is unset and $HOME/.wgetrc is
absent. */
printf ("%s\n", wgetrc_title);