summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-02-03 14:29:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-02-03 14:29:50 (GMT)
commitf3ca0e45dc4faf67ceb9d9cab12b06ca7ed60a6b (patch)
tree57d9ce5fc8083287c8ba1e27123fe3a279b45122 /generic
parent89f0948b6924bdb698cb27e93364f06b24fa3976 (diff)
downloadtcl-f3ca0e45dc4faf67ceb9d9cab12b06ca7ed60a6b.zip
tcl-f3ca0e45dc4faf67ceb9d9cab12b06ca7ed60a6b.tar.gz
tcl-f3ca0e45dc4faf67ceb9d9cab12b06ca7ed60a6b.tar.bz2
Split tclEmptyStringRep declaration over two lines. Otherwise gcc warning.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclPkg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclPkg.c b/generic/tclPkg.c
index 2925c34..0759faa 100644
--- a/generic/tclPkg.c
+++ b/generic/tclPkg.c
@@ -17,7 +17,9 @@
#include "tclInt.h"
-MODULE_SCOPE char *tclEmptyStringRep = &tclEmptyString;
+MODULE_SCOPE char *tclEmptyStringRep;
+
+char *tclEmptyStringRep = &tclEmptyString;
/*
* Each invocation of the "package ifneeded" command creates a structure of