diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-06-21 14:32:45 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-06-21 21:33:11 +0000 |
commit | a70dea195625f32a026d10d937345d177f81aead (patch) | |
tree | 96f3fd13e785998781d9a179745494a14788d1ee /wsutil/os_version_info.h | |
parent | 3c979e63a7c2341f0c3bdf270d22fce17bb93562 (diff) | |
download | wireshark-a70dea195625f32a026d10d937345d177f81aead.tar.gz |
Move get_os_major_version() to wsutil and rename it to get_windows_major_version().
It's Windows-specific, so name it appropriately.
Change-Id: Ic518cbfabebf95757f6b308a4d547a6cabed6a5e
Reviewed-on: https://code.wireshark.org/review/2528
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wsutil/os_version_info.h')
-rw-r--r-- | wsutil/os_version_info.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/wsutil/os_version_info.h b/wsutil/os_version_info.h index e493f49bb5..83211dd238 100644 --- a/wsutil/os_version_info.h +++ b/wsutil/os_version_info.h @@ -34,6 +34,13 @@ extern "C" { */ WS_DLL_PUBLIC void get_os_version_info(GString *str); +#ifdef _WIN32 +/* + * Get the Windows major OS version. + */ +WS_DLL_PUBLIC guint32 get_windows_major_version(void); +#endif + #ifdef __cplusplus } #endif /* __cplusplus */ |