#endif
/*
- * Get various library run-time versions, and the OS version, and append
- * them to the specified GString.
+ * Get the OS version, and append it to the GString
*/
-void
-get_runtime_version_info(GString *str, void (*additional_info)(GString *))
+void get_os_version_info(GString *str)
{
#if defined(_WIN32)
OSVERSIONINFOEX info;
#if HAVE_OS_X_FRAMEWORKS
SInt32 macosx_ver, macosx_major_ver, macosx_minor_ver, macosx_bugfix_ver;
#endif
-#ifndef _WIN32
- gchar *lang;
-#endif
-
- g_string_append(str, "on ");
#if defined(_WIN32)
/*
#else
g_string_append(str, "an unknown OS");
#endif
+}
+
+
+/*
+ * Get various library run-time versions, and the OS version, and append
+ * them to the specified GString.
+ */
+void
+get_runtime_version_info(GString *str, void (*additional_info)(GString *))
+{
+#ifndef _WIN32
+ gchar *lang;
+#endif
+
+ g_string_append(str, "on ");
+
+ get_os_version_info(str);
#ifndef _WIN32
/* Locale */
get_copyright_info(void)
{
return
-"Copyright 1998-2011 Gerald Combs <gerald@wireshark.org> and contributors.\n"
+"Copyright 1998-2012 Gerald Combs <gerald@wireshark.org> and contributors.\n"
"This is free software; see the source for copying conditions. There is NO\n"
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n";
}