From: KO Myung-Hun <kom...@gmail.com> * tests/genfile.c: Declare program_name as extern.
----- CCLD genfile.exe ld.exe: symbol `_program_name' defined more than once in ../gnu/libgnu.a(progname.o) --- tests/genfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/genfile.c b/tests/genfile.c index 4699d21..c9d34c4 100644 --- a/tests/genfile.c +++ b/tests/genfile.c @@ -55,7 +55,7 @@ enum pattern }; /* The name this program was run with. */ -const char *program_name; +extern const char *program_name; /* Name of file to generate */ static char *file_name; -- 2.7.0