aboutsummaryrefslogtreecommitdiff
path: root/lib/sg_lib.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2022-04-21 02:37:15 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2022-04-21 02:37:15 +0000
commit8cd2200ba1758cd127a1b95ab1808cde4f56713c (patch)
tree81f7e8e9c995548351865b77c13092ebf40d7174 /lib/sg_lib.c
parentf26bb872bf4f043a1b817c808a6947fcb03ecda4 (diff)
downloadsg3_utils-8cd2200ba1758cd127a1b95ab1808cde4f56713c.tar.gz
sg_opcodes: add --inhex=FN to process earlier -HHH, add experimental --json[=JO] option; sg_turs: change nanosleep() to Sleep() in MinGW
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@945 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'lib/sg_lib.c')
-rw-r--r--lib/sg_lib.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/sg_lib.c b/lib/sg_lib.c
index 36af6e6f..86fd37dc 100644
--- a/lib/sg_lib.c
+++ b/lib/sg_lib.c
@@ -75,20 +75,6 @@ pr2ws(const char * fmt, ...)
return n;
}
-/* Users of the sg_pr2serr.h header need this function definition */
-int
-pr2serr(const char * fmt, ...)
-{
- va_list args;
- int n;
-
- va_start(args, fmt);
- n = vfprintf(stderr, fmt, args);
- va_end(args);
- return n;
-}
-
-
/* Want safe, 'n += snprintf(b + n, blen - n, ...)' style sequence of
* functions. Returns number of chars placed in cp excluding the
* trailing null char. So for cp_max_len > 0 the return value is always