aboutsummaryrefslogtreecommitdiff
path: root/src/sg_raw.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2017-12-30 00:53:28 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2017-12-30 00:53:28 +0000
commitdb09526533daf4cd4886195a5f752fc35c399168 (patch)
tree3acef022e0419a2525b97cf96da4bd57bc36f1cc /src/sg_raw.c
parentb29ef85867d5347e8fed4c603986964868cba801 (diff)
downloadsg3_utils-db09526533daf4cd4886195a5f752fc35c399168.tar.gz
minor cleanup (compile warnings) for Windows
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@739 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_raw.c')
-rw-r--r--src/sg_raw.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/sg_raw.c b/src/sg_raw.c
index 537b9b1d..9ea07065 100644
--- a/src/sg_raw.c
+++ b/src/sg_raw.c
@@ -32,22 +32,7 @@
#include "sg_pr2serr.h"
#include "sg_unaligned.h"
-#define SG_RAW_VERSION "0.4.19 (2017-12-06)"
-
-#ifdef SG_LIB_WIN32
-#ifndef HAVE_SYSCONF
-#include <windows.h>
-
-static size_t
-win_pagesize(void)
-{
- SYSTEM_INFO sys_info;
-
- GetSystemInfo(&sys_info);
- return sys_info.dwPageSize;
-}
-#endif
-#endif
+#define SG_RAW_VERSION "0.4.20 (2017-12-29)"
#define DEFAULT_TIMEOUT 20
#define MIN_SCSI_CDBSZ 6