Make "svnversion" extern, so the only definition is in version_info.c;
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 7 Dec 2006 23:24:49 +0000 (23:24 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 7 Dec 2006 23:24:49 +0000 (23:24 +0000)
this fixes build errors on some platforms.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20065 f5534014-38df-0310-8fa8-9805f1628bb7

version_info.h

index 421a9bef6575382d305a7d257cce7d126b75e060..1d58787cd356fd771b14a1736a1dacbc1466e75e 100644 (file)
@@ -33,7 +33,7 @@ extern "C" {
 /*
  * The svn version string or ""
  */
-const gchar *svnversion;
+extern const gchar *svnversion;
 
 /*
  * Get various library compile-time versions and append them to