summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/os/os_stream_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/os/os_stream_null.c')
-rw-r--r--src/gallium/auxiliary/os/os_stream_null.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/os/os_stream_null.c b/src/gallium/auxiliary/os/os_stream_null.c
index 128c4e8f0e..a549a789e6 100644
--- a/src/gallium/auxiliary/os/os_stream_null.c
+++ b/src/gallium/auxiliary/os/os_stream_null.c
@@ -56,12 +56,18 @@ os_null_stream_flush(struct os_stream *stream)
(void)stream;
}
+static int
+os_null_stream_vprintf (struct os_stream* stream, const char *format, va_list ap)
+{
+ return 0;
+}
static struct os_stream
os_null_stream = {
&os_null_stream_close,
&os_null_stream_write,
- &os_null_stream_flush
+ &os_null_stream_flush,
+ &os_null_stream_vprintf
};