summaryrefslogtreecommitdiff
path: root/src/libstrerr
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrerr')
-rw-r--r--src/libstrerr/strerr_die10sys.c11
-rw-r--r--src/libstrerr/strerr_die10x.c11
-rw-r--r--src/libstrerr/strerr_die11sys.c11
-rw-r--r--src/libstrerr/strerr_die11x.c11
-rw-r--r--src/libstrerr/strerr_die1sys.c10
-rw-r--r--src/libstrerr/strerr_die1x.c10
-rw-r--r--src/libstrerr/strerr_die2sys.c11
-rw-r--r--src/libstrerr/strerr_die2x.c11
-rw-r--r--src/libstrerr/strerr_die3sys.c11
-rw-r--r--src/libstrerr/strerr_die3x.c11
-rw-r--r--src/libstrerr/strerr_die4sys.c11
-rw-r--r--src/libstrerr/strerr_die4x.c11
-rw-r--r--src/libstrerr/strerr_die5sys.c11
-rw-r--r--src/libstrerr/strerr_die5x.c11
-rw-r--r--src/libstrerr/strerr_die6sys.c11
-rw-r--r--src/libstrerr/strerr_die6x.c11
-rw-r--r--src/libstrerr/strerr_die7sys.c11
-rw-r--r--src/libstrerr/strerr_die7x.c11
-rw-r--r--src/libstrerr/strerr_die8sys.c11
-rw-r--r--src/libstrerr/strerr_die8x.c11
-rw-r--r--src/libstrerr/strerr_die9sys.c11
-rw-r--r--src/libstrerr/strerr_die9x.c11
-rw-r--r--src/libstrerr/strerr_diel.c24
-rw-r--r--src/libstrerr/strerr_dielsys.c23
-rw-r--r--src/libstrerr/strerr_diev.c13
-rw-r--r--src/libstrerr/strerr_dievsys.c13
-rw-r--r--src/libstrerr/strerr_warn10sys.c11
-rw-r--r--src/libstrerr/strerr_warn10x.c11
-rw-r--r--src/libstrerr/strerr_warn11sys.c11
-rw-r--r--src/libstrerr/strerr_warn11x.c11
-rw-r--r--src/libstrerr/strerr_warn1sys.c10
-rw-r--r--src/libstrerr/strerr_warn1x.c10
-rw-r--r--src/libstrerr/strerr_warn2sys.c11
-rw-r--r--src/libstrerr/strerr_warn2x.c11
-rw-r--r--src/libstrerr/strerr_warn3sys.c11
-rw-r--r--src/libstrerr/strerr_warn3x.c11
-rw-r--r--src/libstrerr/strerr_warn4sys.c11
-rw-r--r--src/libstrerr/strerr_warn4x.c11
-rw-r--r--src/libstrerr/strerr_warn5sys.c11
-rw-r--r--src/libstrerr/strerr_warn5x.c11
-rw-r--r--src/libstrerr/strerr_warn6sys.c11
-rw-r--r--src/libstrerr/strerr_warn6x.c11
-rw-r--r--src/libstrerr/strerr_warn7sys.c11
-rw-r--r--src/libstrerr/strerr_warn7x.c11
-rw-r--r--src/libstrerr/strerr_warn8sys.c11
-rw-r--r--src/libstrerr/strerr_warn8x.c11
-rw-r--r--src/libstrerr/strerr_warn9sys.c11
-rw-r--r--src/libstrerr/strerr_warn9x.c11
-rw-r--r--src/libstrerr/strerr_warnl.c22
-rw-r--r--src/libstrerr/strerr_warnlsys.c22
-rw-r--r--src/libstrerr/strerr_warnv.c17
-rw-r--r--src/libstrerr/strerr_warnvsys.c20
52 files changed, 0 insertions, 634 deletions
diff --git a/src/libstrerr/strerr_die10sys.c b/src/libstrerr/strerr_die10sys.c
deleted file mode 100644
index a4801dd..0000000
--- a/src/libstrerr/strerr_die10sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die10sys (int e, char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7, char const *x8, char const *x9, char const *x10)
-{
- char const *v[10] = { x1, x2, x3, x4, x5, x6, x7, x8, x9, x10 } ;
- strerr_dievsys(e, v, 10) ;
-}
diff --git a/src/libstrerr/strerr_die10x.c b/src/libstrerr/strerr_die10x.c
deleted file mode 100644
index 6999dfe..0000000
--- a/src/libstrerr/strerr_die10x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die10x (int e, char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7, char const *x8, char const *x9, char const *x10)
-{
- char const *v[10] = { x1, x2, x3, x4, x5, x6, x7, x8, x9, x10 } ;
- strerr_diev(e, v, 10) ;
-}
diff --git a/src/libstrerr/strerr_die11sys.c b/src/libstrerr/strerr_die11sys.c
deleted file mode 100644
index 71da57d..0000000
--- a/src/libstrerr/strerr_die11sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die11sys (int e, char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7, char const *x8, char const *x9, char const *x10, char const *x11)
-{
- char const *v[11] = { x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11 } ;
- strerr_dievsys(e, v, 11) ;
-}
diff --git a/src/libstrerr/strerr_die11x.c b/src/libstrerr/strerr_die11x.c
deleted file mode 100644
index a18e0fa..0000000
--- a/src/libstrerr/strerr_die11x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die11x (int e, char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7, char const *x8, char const *x9, char const *x10, char const *x11)
-{
- char const *v[11] = { x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11 } ;
- strerr_diev(e, v, 11) ;
-}
diff --git a/src/libstrerr/strerr_die1sys.c b/src/libstrerr/strerr_die1sys.c
deleted file mode 100644
index 1ec5ea1..0000000
--- a/src/libstrerr/strerr_die1sys.c
+++ /dev/null
@@ -1,10 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die1sys (int e, char const *x1)
-{
- strerr_dievsys(e, &x1, 1) ;
-}
diff --git a/src/libstrerr/strerr_die1x.c b/src/libstrerr/strerr_die1x.c
deleted file mode 100644
index b56dd53..0000000
--- a/src/libstrerr/strerr_die1x.c
+++ /dev/null
@@ -1,10 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die1x (int e, char const *x1)
-{
- strerr_diev(e, &x1, 1) ;
-}
diff --git a/src/libstrerr/strerr_die2sys.c b/src/libstrerr/strerr_die2sys.c
deleted file mode 100644
index ffe25af..0000000
--- a/src/libstrerr/strerr_die2sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die2sys (int e, char const *x1, char const *x2)
-{
- char const *v[2] = { x1, x2 } ;
- strerr_dievsys(e, v, 2) ;
-}
diff --git a/src/libstrerr/strerr_die2x.c b/src/libstrerr/strerr_die2x.c
deleted file mode 100644
index 8113818..0000000
--- a/src/libstrerr/strerr_die2x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die2x (int e, char const *x1, char const *x2)
-{
- char const *v[2] = { x1, x2 } ;
- strerr_diev(e, v, 2) ;
-}
diff --git a/src/libstrerr/strerr_die3sys.c b/src/libstrerr/strerr_die3sys.c
deleted file mode 100644
index 17bae5c..0000000
--- a/src/libstrerr/strerr_die3sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die3sys (int e, char const *x1, char const *x2, char const *x3)
-{
- char const *v[3] = { x1, x2, x3 } ;
- strerr_dievsys(e, v, 3) ;
-}
diff --git a/src/libstrerr/strerr_die3x.c b/src/libstrerr/strerr_die3x.c
deleted file mode 100644
index 25f5612..0000000
--- a/src/libstrerr/strerr_die3x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die3x (int e, char const *x1, char const *x2, char const *x3)
-{
- char const *v[3] = { x1, x2, x3 } ;
- strerr_diev(e, v, 3) ;
-}
diff --git a/src/libstrerr/strerr_die4sys.c b/src/libstrerr/strerr_die4sys.c
deleted file mode 100644
index 0f5a3de..0000000
--- a/src/libstrerr/strerr_die4sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die4sys (int e, char const *x1, char const *x2, char const *x3, char const *x4)
-{
- char const *v[4] = { x1, x2, x3, x4 } ;
- strerr_dievsys(e, v, 4) ;
-}
diff --git a/src/libstrerr/strerr_die4x.c b/src/libstrerr/strerr_die4x.c
deleted file mode 100644
index bd330a3..0000000
--- a/src/libstrerr/strerr_die4x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die4x (int e, char const *x1, char const *x2, char const *x3, char const *x4)
-{
- char const *v[4] = { x1, x2, x3, x4 } ;
- strerr_diev(e, v, 4) ;
-}
diff --git a/src/libstrerr/strerr_die5sys.c b/src/libstrerr/strerr_die5sys.c
deleted file mode 100644
index a4635ba..0000000
--- a/src/libstrerr/strerr_die5sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die5sys (int e, char const *x1, char const *x2, char const *x3, char const *x4, char const *x5)
-{
- char const *v[5] = { x1, x2, x3, x4, x5 } ;
- strerr_dievsys(e, v, 5) ;
-}
diff --git a/src/libstrerr/strerr_die5x.c b/src/libstrerr/strerr_die5x.c
deleted file mode 100644
index 30055d7..0000000
--- a/src/libstrerr/strerr_die5x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die5x (int e, char const *x1, char const *x2, char const *x3, char const *x4, char const *x5)
-{
- char const *v[5] = { x1, x2, x3, x4, x5 } ;
- strerr_diev(e, v, 5) ;
-}
diff --git a/src/libstrerr/strerr_die6sys.c b/src/libstrerr/strerr_die6sys.c
deleted file mode 100644
index bf5ab7d..0000000
--- a/src/libstrerr/strerr_die6sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die6sys (int e, char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6)
-{
- char const *v[6] = { x1, x2, x3, x4, x5, x6 } ;
- strerr_dievsys(e, v, 6) ;
-}
diff --git a/src/libstrerr/strerr_die6x.c b/src/libstrerr/strerr_die6x.c
deleted file mode 100644
index 294d236..0000000
--- a/src/libstrerr/strerr_die6x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die6x (int e, char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6)
-{
- char const *v[6] = { x1, x2, x3, x4, x5, x6 } ;
- strerr_diev(e, v, 6) ;
-}
diff --git a/src/libstrerr/strerr_die7sys.c b/src/libstrerr/strerr_die7sys.c
deleted file mode 100644
index 27c305e..0000000
--- a/src/libstrerr/strerr_die7sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die7sys (int e, char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7)
-{
- char const *v[7] = { x1, x2, x3, x4, x5, x6, x7 } ;
- strerr_dievsys(e, v, 7) ;
-}
diff --git a/src/libstrerr/strerr_die7x.c b/src/libstrerr/strerr_die7x.c
deleted file mode 100644
index e367313..0000000
--- a/src/libstrerr/strerr_die7x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die7x (int e, char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7)
-{
- char const *v[7] = { x1, x2, x3, x4, x5, x6, x7 } ;
- strerr_diev(e, v, 7) ;
-}
diff --git a/src/libstrerr/strerr_die8sys.c b/src/libstrerr/strerr_die8sys.c
deleted file mode 100644
index 2d7971f..0000000
--- a/src/libstrerr/strerr_die8sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die8sys (int e, char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7, char const *x8)
-{
- char const *v[8] = { x1, x2, x3, x4, x5, x6, x7, x8 } ;
- strerr_dievsys(e, v, 8) ;
-}
diff --git a/src/libstrerr/strerr_die8x.c b/src/libstrerr/strerr_die8x.c
deleted file mode 100644
index bf49c5b..0000000
--- a/src/libstrerr/strerr_die8x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die8x (int e, char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7, char const *x8)
-{
- char const *v[8] = { x1, x2, x3, x4, x5, x6, x7, x8 } ;
- strerr_diev(e, v, 8) ;
-}
diff --git a/src/libstrerr/strerr_die9sys.c b/src/libstrerr/strerr_die9sys.c
deleted file mode 100644
index 9dd745f..0000000
--- a/src/libstrerr/strerr_die9sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die9sys (int e, char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7, char const *x8, char const *x9)
-{
- char const *v[9] = { x1, x2, x3, x4, x5, x6, x7, x8, x9 } ;
- strerr_dievsys(e, v, 9) ;
-}
diff --git a/src/libstrerr/strerr_die9x.c b/src/libstrerr/strerr_die9x.c
deleted file mode 100644
index 669723e..0000000
--- a/src/libstrerr/strerr_die9x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_die9x (int e, char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7, char const *x8, char const *x9)
-{
- char const *v[9] = { x1, x2, x3, x4, x5, x6, x7, x8, x9 } ;
- strerr_diev(e, v, 9) ;
-}
diff --git a/src/libstrerr/strerr_diel.c b/src/libstrerr/strerr_diel.c
deleted file mode 100644
index d142402..0000000
--- a/src/libstrerr/strerr_diel.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <stdarg.h>
-#include <unistd.h>
-
-#include <skalibs/strerr.h>
-
-void strerr_diel (int e, unsigned int n, ...)
-{
- if (n)
- {
- va_list ap ;
- char const *v[n] ;
- va_start(ap, n) ;
- va_arg(ap, unsigned int) ;
- for (unsigned int i = 0 ; i < n ; i++)
- v[i++] = va_arg(ap, char const *) ;
- va_end(ap) ;
- strerr_warnv(v, n) ;
- }
- _exit(e) ;
-}
diff --git a/src/libstrerr/strerr_dielsys.c b/src/libstrerr/strerr_dielsys.c
deleted file mode 100644
index 5c0e334..0000000
--- a/src/libstrerr/strerr_dielsys.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <stdarg.h>
-#include <string.h>
-#include <unistd.h>
-#include <errno.h>
-
-#include <skalibs/strerr.h>
-
-void strerr_dielsys (int e, unsigned int n, ...)
-{
- va_list ap ;
- char const *v[n+1] ;
- va_start(ap, n) ;
- va_arg(ap, unsigned int) ;
- for (unsigned int i = 0 ; i < n ; i++)
- v[i++] = va_arg(ap, char const *) ;
- va_end(ap) ;
- v[n] = strerror(errno) ;
- strerr_diev(e, v, n+1) ;
-}
diff --git a/src/libstrerr/strerr_diev.c b/src/libstrerr/strerr_diev.c
deleted file mode 100644
index bf1e8fc..0000000
--- a/src/libstrerr/strerr_diev.c
+++ /dev/null
@@ -1,13 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <unistd.h>
-
-#include <skalibs/strerr.h>
-
-void strerr_diev (int e, char const *const *v, unsigned int n)
-{
- strerr_warnv(v, n) ;
- _exit(e) ;
-}
diff --git a/src/libstrerr/strerr_dievsys.c b/src/libstrerr/strerr_dievsys.c
deleted file mode 100644
index 10437f9..0000000
--- a/src/libstrerr/strerr_dievsys.c
+++ /dev/null
@@ -1,13 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <unistd.h>
-
-#include <skalibs/strerr.h>
-
-void strerr_dievsys (int e, char const *const *v, unsigned int n)
-{
- strerr_warnvsys(v, n) ;
- _exit(e) ;
-}
diff --git a/src/libstrerr/strerr_warn10sys.c b/src/libstrerr/strerr_warn10sys.c
deleted file mode 100644
index f9a448e..0000000
--- a/src/libstrerr/strerr_warn10sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn10sys (char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7, char const *x8, char const *x9, char const *x10)
-{
- char const *v[10] = { x1, x2, x3, x4, x5, x6, x7, x8, x9, x10 } ;
- strerr_warnvsys(v, 10) ;
-}
diff --git a/src/libstrerr/strerr_warn10x.c b/src/libstrerr/strerr_warn10x.c
deleted file mode 100644
index 4139f63..0000000
--- a/src/libstrerr/strerr_warn10x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn10x (char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7, char const *x8, char const *x9, char const *x10)
-{
- char const *v[10] = { x1, x2, x3, x4, x5, x6, x7, x8, x9, x10 } ;
- strerr_warnv(v, 10) ;
-}
diff --git a/src/libstrerr/strerr_warn11sys.c b/src/libstrerr/strerr_warn11sys.c
deleted file mode 100644
index 588df28..0000000
--- a/src/libstrerr/strerr_warn11sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn11sys (char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7, char const *x8, char const *x9, char const *x10, char const *x11)
-{
- char const *v[11] = { x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11 } ;
- strerr_warnvsys(v, 11) ;
-}
diff --git a/src/libstrerr/strerr_warn11x.c b/src/libstrerr/strerr_warn11x.c
deleted file mode 100644
index 9b4ba90..0000000
--- a/src/libstrerr/strerr_warn11x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn11x (char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7, char const *x8, char const *x9, char const *x10, char const *x11)
-{
- char const *v[11] = { x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11 } ;
- strerr_warnv(v, 11) ;
-}
diff --git a/src/libstrerr/strerr_warn1sys.c b/src/libstrerr/strerr_warn1sys.c
deleted file mode 100644
index 211bfb4..0000000
--- a/src/libstrerr/strerr_warn1sys.c
+++ /dev/null
@@ -1,10 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn1sys (char const *x1)
-{
- strerr_warnvsys(&x1, 1) ;
-}
diff --git a/src/libstrerr/strerr_warn1x.c b/src/libstrerr/strerr_warn1x.c
deleted file mode 100644
index dd54048..0000000
--- a/src/libstrerr/strerr_warn1x.c
+++ /dev/null
@@ -1,10 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn1x (char const *x1)
-{
- strerr_warnv(&x1, 1) ;
-}
diff --git a/src/libstrerr/strerr_warn2sys.c b/src/libstrerr/strerr_warn2sys.c
deleted file mode 100644
index 0efb546..0000000
--- a/src/libstrerr/strerr_warn2sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn2sys (char const *x1, char const *x2)
-{
- char const *v[2] = { x1, x2 } ;
- strerr_warnvsys(v, 2) ;
-}
diff --git a/src/libstrerr/strerr_warn2x.c b/src/libstrerr/strerr_warn2x.c
deleted file mode 100644
index 936c876..0000000
--- a/src/libstrerr/strerr_warn2x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn2x (char const *x1, char const *x2)
-{
- char const *v[2] = { x1, x2 } ;
- strerr_warnv(v, 2) ;
-}
diff --git a/src/libstrerr/strerr_warn3sys.c b/src/libstrerr/strerr_warn3sys.c
deleted file mode 100644
index b011f2d..0000000
--- a/src/libstrerr/strerr_warn3sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn3sys (char const *x1, char const *x2, char const *x3)
-{
- char const *v[3] = { x1, x2, x3 } ;
- strerr_warnvsys(v, 3) ;
-}
diff --git a/src/libstrerr/strerr_warn3x.c b/src/libstrerr/strerr_warn3x.c
deleted file mode 100644
index f9b95d7..0000000
--- a/src/libstrerr/strerr_warn3x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn3x (char const *x1, char const *x2, char const *x3)
-{
- char const *v[3] = { x1, x2, x3 } ;
- strerr_warnv(v, 3) ;
-}
diff --git a/src/libstrerr/strerr_warn4sys.c b/src/libstrerr/strerr_warn4sys.c
deleted file mode 100644
index 2172363..0000000
--- a/src/libstrerr/strerr_warn4sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn4sys (char const *x1, char const *x2, char const *x3, char const *x4)
-{
- char const *v[4] = { x1, x2, x3, x4 } ;
- strerr_warnvsys(v, 4) ;
-}
diff --git a/src/libstrerr/strerr_warn4x.c b/src/libstrerr/strerr_warn4x.c
deleted file mode 100644
index 20d8b28..0000000
--- a/src/libstrerr/strerr_warn4x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn4x (char const *x1, char const *x2, char const *x3, char const *x4)
-{
- char const *v[4] = { x1, x2, x3, x4 } ;
- strerr_warnv(v, 4) ;
-}
diff --git a/src/libstrerr/strerr_warn5sys.c b/src/libstrerr/strerr_warn5sys.c
deleted file mode 100644
index 722d4b7..0000000
--- a/src/libstrerr/strerr_warn5sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn5sys (char const *x1, char const *x2, char const *x3, char const *x4, char const *x5)
-{
- char const *v[5] = { x1, x2, x3, x4, x5 } ;
- strerr_warnvsys(v, 5) ;
-}
diff --git a/src/libstrerr/strerr_warn5x.c b/src/libstrerr/strerr_warn5x.c
deleted file mode 100644
index 79d5402..0000000
--- a/src/libstrerr/strerr_warn5x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn5x (char const *x1, char const *x2, char const *x3, char const *x4, char const *x5)
-{
- char const *v[5] = { x1, x2, x3, x4, x5 } ;
- strerr_warnv(v, 5) ;
-}
diff --git a/src/libstrerr/strerr_warn6sys.c b/src/libstrerr/strerr_warn6sys.c
deleted file mode 100644
index 4150646..0000000
--- a/src/libstrerr/strerr_warn6sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn6sys (char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6)
-{
- char const *v[6] = { x1, x2, x3, x4, x5, x6 } ;
- strerr_warnvsys(v, 6) ;
-}
diff --git a/src/libstrerr/strerr_warn6x.c b/src/libstrerr/strerr_warn6x.c
deleted file mode 100644
index 5d94d9e..0000000
--- a/src/libstrerr/strerr_warn6x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn6x (char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6)
-{
- char const *v[6] = { x1, x2, x3, x4, x5, x6 } ;
- strerr_warnv(v, 6) ;
-}
diff --git a/src/libstrerr/strerr_warn7sys.c b/src/libstrerr/strerr_warn7sys.c
deleted file mode 100644
index e9da56b..0000000
--- a/src/libstrerr/strerr_warn7sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn7sys (char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7)
-{
- char const *v[7] = { x1, x2, x3, x4, x5, x6, x7 } ;
- strerr_warnvsys(v, 7) ;
-}
diff --git a/src/libstrerr/strerr_warn7x.c b/src/libstrerr/strerr_warn7x.c
deleted file mode 100644
index 39c374b..0000000
--- a/src/libstrerr/strerr_warn7x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn7x (char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7)
-{
- char const *v[7] = { x1, x2, x3, x4, x5, x6, x7 } ;
- strerr_warnv(v, 7) ;
-}
diff --git a/src/libstrerr/strerr_warn8sys.c b/src/libstrerr/strerr_warn8sys.c
deleted file mode 100644
index 33ce86c..0000000
--- a/src/libstrerr/strerr_warn8sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn8sys (char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7, char const *x8)
-{
- char const *v[8] = { x1, x2, x3, x4, x5, x6, x7, x8 } ;
- strerr_warnvsys(v, 8) ;
-}
diff --git a/src/libstrerr/strerr_warn8x.c b/src/libstrerr/strerr_warn8x.c
deleted file mode 100644
index f4519cd..0000000
--- a/src/libstrerr/strerr_warn8x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn8x (char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7, char const *x8)
-{
- char const *v[8] = { x1, x2, x3, x4, x5, x6, x7, x8 } ;
- strerr_warnv(v, 8) ;
-}
diff --git a/src/libstrerr/strerr_warn9sys.c b/src/libstrerr/strerr_warn9sys.c
deleted file mode 100644
index a5920eb..0000000
--- a/src/libstrerr/strerr_warn9sys.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn9sys (char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7, char const *x8, char const *x9)
-{
- char const *v[9] = { x1, x2, x3, x4, x5, x6, x7, x8, x9 } ;
- strerr_warnvsys(v, 9) ;
-}
diff --git a/src/libstrerr/strerr_warn9x.c b/src/libstrerr/strerr_warn9x.c
deleted file mode 100644
index 956bd4e..0000000
--- a/src/libstrerr/strerr_warn9x.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <skalibs/strerr.h>
-
-void strerr_warn9x (char const *x1, char const *x2, char const *x3, char const *x4, char const *x5, char const *x6, char const *x7, char const *x8, char const *x9)
-{
- char const *v[9] = { x1, x2, x3, x4, x5, x6, x7, x8, x9 } ;
- strerr_warnv(v, 9) ;
-}
diff --git a/src/libstrerr/strerr_warnl.c b/src/libstrerr/strerr_warnl.c
deleted file mode 100644
index 17c370d..0000000
--- a/src/libstrerr/strerr_warnl.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <stdarg.h>
-
-#include <skalibs/strerr.h>
-
-void strerr_warnl (unsigned int n, ...)
-{
- if (n)
- {
- va_list ap ;
- char const *v[n] ;
- va_start(ap, n) ;
- va_arg(ap, unsigned int) ;
- for (unsigned int i = 0 ; i < n ; i++)
- v[i++] = va_arg(ap, char const *) ;
- va_end(ap) ;
- strerr_warnv(v, n) ;
- }
-}
diff --git a/src/libstrerr/strerr_warnlsys.c b/src/libstrerr/strerr_warnlsys.c
deleted file mode 100644
index fbd7a6b..0000000
--- a/src/libstrerr/strerr_warnlsys.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <stdarg.h>
-#include <string.h>
-#include <errno.h>
-
-#include <skalibs/strerr.h>
-
-void strerr_warnlsys (unsigned int n, ...)
-{
- va_list ap ;
- char const *v[n+1] ;
- va_start(ap, n) ;
- va_arg(ap, unsigned int) ;
- for (unsigned int i = 0 ; i < n ; i++)
- v[i++] = va_arg(ap, char const *) ;
- va_end(ap) ;
- v[n] = strerror(errno) ;
- strerr_warnv(v, n+1) ;
-}
diff --git a/src/libstrerr/strerr_warnv.c b/src/libstrerr/strerr_warnv.c
deleted file mode 100644
index f59cfe9..0000000
--- a/src/libstrerr/strerr_warnv.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <errno.h>
-
-#include <skalibs/buffer.h>
-#include <skalibs/strerr.h>
-
-void strerr_warnv (char const *const *v, unsigned int n)
-{
- int e = errno ;
- for (unsigned int i = 0 ; i < n ; i++)
- if (v[i]) buffer_puts(buffer_2, v[i]) ;
- buffer_putflush(buffer_2, "\n", 1) ;
- errno = e ;
-}
diff --git a/src/libstrerr/strerr_warnvsys.c b/src/libstrerr/strerr_warnvsys.c
deleted file mode 100644
index fcab1b8..0000000
--- a/src/libstrerr/strerr_warnvsys.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* ISC license. */
-
-/* MT-unsafe */
-
-#include <string.h>
-#include <errno.h>
-
-#include <skalibs/buffer.h>
-#include <skalibs/strerr.h>
-
-void strerr_warnvsys (char const *const *v, unsigned int n)
-{
- int e = errno ;
- for (unsigned int i = 0 ; i < n ; i++)
- if (v[i]) buffer_puts(buffer_2, v[i]) ;
- buffer_put(buffer_2, ": ", 2) ;
- buffer_puts(buffer_2, strerror(e)) ;
- buffer_putflush(buffer_2, "\n", 1) ;
- errno = e ;
-}