aboutsummaryrefslogtreecommitdiffstats
path: root/version_info.h
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2005-08-16 06:45:17 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2005-08-16 06:45:17 +0000
commit62895c08644c814fb800e6f93079811e1e777ff8 (patch)
tree6aa2e7cf3b2dddb5dc52a06ab32493270543dcaf /version_info.h
parentedbd3679db5acd6fac34666d3c9788b6f57ade5f (diff)
Move SVNVERSION handling into version_info. That way, we won't have
to recompile tethereal.o etc each time the svn version has changed, relinking is sufficient. I'm not sure what to do about mergecap, as it currently doesn't link against version_info, so it's "overhead" either way. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15371 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'version_info.h')
-rw-r--r--version_info.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/version_info.h b/version_info.h
index bcba136d2c..ada86b5863 100644
--- a/version_info.h
+++ b/version_info.h
@@ -31,6 +31,11 @@ extern "C" {
#endif /* __cplusplus */
/*
+ * The svn version string or ""
+ */
+const gchar *svnversion;
+
+/*
* Get various library compile-time versions and append them to
* the specified GString.
*/