summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/os/os_stream_null.c
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-08-20 11:31:24 +0200
committerLuca Barbieri <luca@luca-barbieri.com>2010-08-20 18:18:28 +0200
commitb1fa352db8a69883f97dd579d892291f414a67f5 (patch)
tree1ed8c14cb941a867ace2912f9c780c488de2d54d /src/gallium/auxiliary/os/os_stream_null.c
parent40eef4c20cc0b4500a0d8c8538872ed4b473d737 (diff)
os_stream: add printf facility
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
};