[cairo-commit] src/cairo-win32-private.h src/cairo-win32-surface.c
Christian Biesinger
biesi at kemper.freedesktop.org
Mon Oct 16 08:31:01 PDT 2006
src/cairo-win32-private.h | 2 +-
src/cairo-win32-surface.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
diff-tree 7d136864382f8b17e6c672892a00d4bb0ea3ed90 (from 445251cc79d87b73a2ccd7891f9a5a33b89927a4)
Author: Christian Biesinger <cbiesinger at web.de>
Date: Mon Oct 16 17:27:23 2006 +0200
[win32] Add missing void
This fixes a GCC compile warning
diff --git a/src/cairo-win32-private.h b/src/cairo-win32-private.h
index 41e6e98..2f7fc84 100644
--- a/src/cairo-win32-private.h
+++ b/src/cairo-win32-private.h
@@ -103,6 +103,6 @@ cairo_bool_t
_cairo_surface_is_win32 (cairo_surface_t *surface);
void
-_cairo_win32_initialize ();
+_cairo_win32_initialize (void);
#endif /* CAIRO_WIN32_PRIVATE_H */
diff --git a/src/cairo-win32-surface.c b/src/cairo-win32-surface.c
index 54c8698..839fa37 100644
--- a/src/cairo-win32-surface.c
+++ b/src/cairo-win32-surface.c
@@ -1633,7 +1633,7 @@ CRITICAL_SECTION cairo_ft_unscaled_font_
static int _cairo_win32_initialized = 0;
void
-_cairo_win32_initialize () {
+_cairo_win32_initialize (void) {
if (_cairo_win32_initialized)
return;
More information about the cairo-commit
mailing list