os: drop deprecated Xvprintf()

Nobody using it anymore, so no need for keeping it around.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-03-04 18:50:10 +01:00
parent b443f4bb88
commit 25de3f61a1
2 changed files with 0 additions and 16 deletions

View File

@ -199,10 +199,6 @@ Xprintf(const char *fmt, ...)
_X_ATTRIBUTE_PRINTF(1, 2) _X_ATTRIBUTE_PRINTF(1, 2)
_X_DEPRECATED; _X_DEPRECATED;
extern _X_EXPORT char * 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, ...) XNFprintf(const char *fmt, ...)
_X_ATTRIBUTE_PRINTF(1, 2) _X_ATTRIBUTE_PRINTF(1, 2)
_X_DEPRECATED; _X_DEPRECATED;

View File

@ -154,18 +154,6 @@ int Xscnprintf(char *s, int n, const char *format, ...)
return x; 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 * char *
Xprintf(const char *format, ...) Xprintf(const char *format, ...)
{ {