From: Slava Barinov Date: Tue, 10 May 2016 11:34:12 +0000 (+0300) Subject: Fixing build with ASan X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=HEAD;p=platform%2Fupstream%2Fcpio.git Fixing build with ASan Change-Id: I9a07aa94dfe35b36d6d52bd3f1ac29d3163f51a9 Signed-off-by: DongHun Kwak --- diff --git a/src/global.c b/src/global.c index cff9720..72deab1 100644 --- a/src/global.c +++ b/src/global.c @@ -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. */