Fixing build with ASan 91/91891/1 accepted/tizen_3.0.m2_base accepted/tizen_3.0_base tizen_3.0.m2_base tizen_3.0_base accepted/tizen/3.0.m2/base/20170104.081909 accepted/tizen/3.0/base/20161028.103036 accepted/tizen/base/20161016.035612 submit/tizen_3.0.m2_base/20170104.072059 submit/tizen_3.0.m2_base/20170104.073748 submit/tizen_3.0_base/20161028.062323 submit/tizen_base/20161012.062708
authorSlava Barinov <v.barinov@samsung.com>
Tue, 10 May 2016 11:34:12 +0000 (14:34 +0300)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 12 Oct 2016 06:17:08 +0000 (15:17 +0900)
Change-Id: I9a07aa94dfe35b36d6d52bd3f1ac29d3163f51a9
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
src/global.c

index cff9720bcdef142a137b8cd4398d9edffcd600cd..72deab183660986fe4418b92e15cee8e28632f53 100644 (file)
@@ -185,7 +185,7 @@ unsigned int warn_option = 0;
 bool to_stdout_option = false;
 
 /* The name this program was run with.  */
-char *program_name;
+extern char *program_name;
 
 /* A pointer to either lstat or stat, depending on whether
    dereferencing of symlinks is done for input files.  */