aboutsummaryrefslogtreecommitdiffstats
path: root/version_info.h
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-08-16 06:45:17 +0000
committerJörg Mayer <jmayer@loplof.de>2005-08-16 06:45:17 +0000
commit0f9ffd69231e26d707c585d9a3884b95d244232d (patch)
tree6aa2e7cf3b2dddb5dc52a06ab32493270543dcaf /version_info.h
parentbc35e184c794f2539a33ca8c179650356f1bd480 (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. svn path=/trunk/; revision=15371
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.
*/