summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2008-03-18 22:25:46 +1030
committerAdrian Johnson <ajohnson@redneon.com>2008-03-20 18:15:09 +1030
commitf3734085a1d1d9b08004a243e28a0233f621847c (patch)
tree078b2bf648234d48c28daf84618dbc08ec31efc1
parent4d9e5b51aa4164cf758c6a1f84c7f831becc098b (diff)
Make _cairo_dtostr() static
It is only used in cairo-output-stream.c
-rw-r--r--src/cairo-output-stream-private.h3
-rw-r--r--src/cairo-output-stream.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/cairo-output-stream-private.h b/src/cairo-output-stream-private.h
index 9e9e3ad5..1a257881 100644
--- a/src/cairo-output-stream-private.h
+++ b/src/cairo-output-stream-private.h
@@ -111,9 +111,6 @@ _cairo_output_stream_write_hex_string (cairo_output_stream_t *stream,
size_t length);
cairo_private void
-_cairo_dtostr (char *buffer, size_t size, double d);
-
-cairo_private void
_cairo_output_stream_vprintf (cairo_output_stream_t *stream,
const char *fmt,
va_list ap) CAIRO_PRINTF_FORMAT ( 2, 0);
diff --git a/src/cairo-output-stream.c b/src/cairo-output-stream.c
index b337994f..6c9401bd 100644
--- a/src/cairo-output-stream.c
+++ b/src/cairo-output-stream.c
@@ -246,7 +246,7 @@ _cairo_output_stream_write_hex_string (cairo_output_stream_t *stream,
* has been relicensed under the LGPL/MPL dual license for inclusion
* into cairo (see COPYING). -- Kristian Høgsberg <krh@redhat.com>
*/
-void
+static void
_cairo_dtostr (char *buffer, size_t size, double d)
{
struct lconv *locale_data;