From 06011c29aef19d8ed90ebf48095e1ff2a846ba23 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 29 Nov 2022 02:24:47 +0000 Subject: Prepare for 2.13.0.0, revamp strerr Signed-off-by: Laurent Bercot --- src/libstrerr/strerr_warn5x.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/libstrerr/strerr_warn5x.c (limited to 'src/libstrerr/strerr_warn5x.c') diff --git a/src/libstrerr/strerr_warn5x.c b/src/libstrerr/strerr_warn5x.c new file mode 100644 index 0000000..79d5402 --- /dev/null +++ b/src/libstrerr/strerr_warn5x.c @@ -0,0 +1,11 @@ +/* ISC license. */ + +/* MT-unsafe */ + +#include + +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) ; +} -- cgit v1.3.1