mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
os: drop deprecated Xprintf()
Not used anymore. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
13
os/xprintf.c
13
os/xprintf.c
@@ -153,16 +153,3 @@ int Xscnprintf(char *s, int n, const char *format, ...)
|
||||
va_end(ap);
|
||||
return x;
|
||||
}
|
||||
|
||||
char *
|
||||
Xprintf(const char *format, ...)
|
||||
{
|
||||
char *ret;
|
||||
va_list va;
|
||||
|
||||
va_start(va, format);
|
||||
if (vasprintf(&ret, format, va) == -1)
|
||||
ret = NULL;
|
||||
va_end(va);
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user