mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
printf: disable some unused printf variants
This commit is contained in:
parent
91c42b9380
commit
109be629b7
2 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
||||||
#include "vasnprintf.h"
|
#include "vasnprintf.h"
|
||||||
#include "printf.h"
|
#include "printf.h"
|
||||||
|
|
||||||
|
#if 0
|
||||||
int
|
int
|
||||||
__gst_printf (char const *format, ...)
|
__gst_printf (char const *format, ...)
|
||||||
{
|
{
|
||||||
|
@ -143,6 +144,7 @@ __gst_vsnprintf (char *string, size_t n, char const *format, va_list args)
|
||||||
|
|
||||||
return length;
|
return length;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
__gst_vasprintf (char **result, char const *format, va_list args)
|
__gst_vasprintf (char **result, char const *format, va_list args)
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#if 0
|
||||||
int __gst_printf (char const *format,
|
int __gst_printf (char const *format,
|
||||||
...);
|
...);
|
||||||
|
|
||||||
|
@ -53,6 +54,7 @@ int __gst_vsnprintf (char *string,
|
||||||
size_t n,
|
size_t n,
|
||||||
char const *format,
|
char const *format,
|
||||||
va_list args);
|
va_list args);
|
||||||
|
#endif
|
||||||
|
|
||||||
int __gst_vasprintf (char **result,
|
int __gst_vasprintf (char **result,
|
||||||
char const *format,
|
char const *format,
|
||||||
|
|
Loading…
Reference in a new issue