summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-01-13 16:30:43 +0000
committerLaurent Bercot <ska@appnovation.com>2023-01-13 16:30:43 +0000
commit3e1bbd5d33826c5d7807a051ee22db3452ee4b21 (patch)
tree88203cada2c4baf77cb500b1625d37b12f4ba68f /src/include
parentee2aeefa170b9806e719723f94ba933c90a9ae8b (diff)
downloadskalibs-3e1bbd5d33826c5d7807a051ee22db3452ee4b21.tar.xz
Remove stdarg functions from strerr, everything is __VA_ARGS__ now
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/skalibs/strerr.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/include/skalibs/strerr.h b/src/include/skalibs/strerr.h
index 8cff167..d2b7492 100644
--- a/src/include/skalibs/strerr.h
+++ b/src/include/skalibs/strerr.h
@@ -10,11 +10,6 @@ extern void strerr_warnvsys (char const *const *, unsigned int) ;
extern void strerr_diev (int, char const *const *, unsigned int) gccattr_noreturn ;
extern void strerr_dievsys(int, char const *const *, unsigned int) gccattr_noreturn ;
-extern void strerr_warnl (unsigned int, ...) ;
-extern void strerr_warnlsys (unsigned int, ...) ;
-extern void strerr_diel (int, unsigned int, ...) gccattr_noreturn ;
-extern void strerr_dielsys (int, unsigned int, ...) gccattr_noreturn ;
-
#define strerr_array(...) ((char const *const[]){__VA_ARGS__})
#define strerr_warnn(n, ...) strerr_warnv(strerr_array(__VA_ARGS__), (n))
#define strerr_warnnsys(n, ...) strerr_warnvsys(strerr_array(__VA_ARGS__), (n))