diff --git a/include/os.h b/include/os.h index 1b1076036..cb1600dca 100644 --- a/include/os.h +++ b/include/os.h @@ -199,10 +199,6 @@ Xprintf(const char *fmt, ...) _X_ATTRIBUTE_PRINTF(1, 2) _X_DEPRECATED; extern _X_EXPORT char * -Xvprintf(const char *fmt, va_list va) -_X_ATTRIBUTE_PRINTF(1, 0) - _X_DEPRECATED; -extern _X_EXPORT char * XNFprintf(const char *fmt, ...) _X_ATTRIBUTE_PRINTF(1, 2) _X_DEPRECATED; diff --git a/os/xprintf.c b/os/xprintf.c index b30edf2f2..883e8c5ea 100644 --- a/os/xprintf.c +++ b/os/xprintf.c @@ -154,18 +154,6 @@ int Xscnprintf(char *s, int n, const char *format, ...) return x; } -/* Old api, now deprecated, may be removed in the future */ -char * -Xvprintf(const char *format, va_list va) -{ - char *ret; - - if (vasprintf(&ret, format, va) == -1) - ret = NULL; - - return ret; -} - char * Xprintf(const char *format, ...) {