From a82b9ab65d3436651f7ad93c3e6f2f74192f554a Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 4 Mar 2025 18:53:16 +0100 Subject: [PATCH] (!1898) os: drop deprecated XNFvprintf() Nobody using it anymore. Signed-off-by: Enrico Weigelt, metux IT consult --- include/os.h | 4 ---- os/xprintf.c | 10 ---------- 2 files changed, 14 deletions(-) diff --git a/include/os.h b/include/os.h index b90189eea..2fa81f64c 100644 --- a/include/os.h +++ b/include/os.h @@ -189,10 +189,6 @@ extern _X_EXPORT char * Xprintf(const char *fmt, ...) _X_ATTRIBUTE_PRINTF(1, 2) _X_DEPRECATED; -extern _X_EXPORT char * -XNFvprintf(const char *fmt, va_list va) -_X_ATTRIBUTE_PRINTF(1, 0) - _X_DEPRECATED; typedef int (*OsSigWrapperPtr) (int /* sig */ ); diff --git a/os/xprintf.c b/os/xprintf.c index 7ea633245..0a4c1f49f 100644 --- a/os/xprintf.c +++ b/os/xprintf.c @@ -166,13 +166,3 @@ Xprintf(const char *format, ...) va_end(va); return ret; } - -char * -XNFvprintf(const char *format, va_list va) -{ - char *ret; - - XNFvasprintf(&ret, format, va); - - return ret; -}