Fix missing extern declaration error for build_info.pl

This commit is contained in:
Darshit Shah 2014-11-22 11:42:03 +05:30
parent c6b750061a
commit b6de436547
5 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2014-11-22 Darshit Shah <darnir@gmail.com>
* build-aux/build_info.pl: Include version.h in the final C file generated
by the script.
2014-11-20 Darshit Shah <darnir@gmail.com>
* configure.ac: Change option to --enable-assert. Assertions are disabled by

View File

@ -137,3 +137,4 @@ __DATA__
#include "wget.h"
#include <stdio.h>
#include "version.h"

View File

@ -1,3 +1,8 @@
2014-11-22 Darshit Shah <darnir@gmail.com>
* version.h: Add extern for compilation_string
* main: Remove declaration for compilation_String
2014-11-22 Darshit Shah <darnir@gmail.com>
* version.h: New file. Add extern declarations for globally shared strings

View File

@ -81,8 +81,6 @@ struct options opt;
/* defined in version.c */
extern char *system_getrc;
/* defined in build_info.c */
extern const char *compiled_features[];
/* Used for --version output in print_version */
#define MAX_CHARS_PER_LINE 72
#define TABULATION 4

View File

@ -31,3 +31,6 @@ as that of the covered work. */
extern const char *version_string;
extern const char *compilation_string;
extern const char *link_string;
/* Extern declaration for string in build_info.c */
extern const char *compiled_features[];