[librsvg] Use void explicitly.
- From: Hiroyuki Ikezoe <hiikezoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Use void explicitly.
- Date: Wed, 28 Apr 2010 10:25:09 +0000 (UTC)
commit 511b348669e89da48ae6888a44976908a951ce61
Author: Hiroyuki Ikezoe <hiikezoe gnome org>
Date: Wed Apr 28 19:24:57 2010 +0900
Use void explicitly.
rsvg-filter.c | 2 +-
rsvg-paint-server.c | 2 +-
rsvg-structure.c | 4 ++--
rsvg-styles.h | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/rsvg-filter.c b/rsvg-filter.c
index d92e928..1b7646f 100644
--- a/rsvg-filter.c
+++ b/rsvg-filter.c
@@ -2858,7 +2858,7 @@ rsvg_filter_primitive_displacement_map_set_atts (RsvgNode * self, RsvgHandle * c
}
RsvgNode *
-rsvg_new_filter_primitive_displacement_map ()
+rsvg_new_filter_primitive_displacement_map (void)
{
RsvgFilterPrimitiveDisplacementMap *filter;
filter = g_new (RsvgFilterPrimitiveDisplacementMap, 1);
diff --git a/rsvg-paint-server.c b/rsvg-paint-server.c
index 0889aa5..1c1cb53 100644
--- a/rsvg-paint-server.c
+++ b/rsvg-paint-server.c
@@ -50,7 +50,7 @@ rsvg_paint_server_solid (guint32 rgb)
}
static RsvgPaintServer *
-rsvg_paint_server_solid_current_colour ()
+rsvg_paint_server_solid_current_colour (void)
{
RsvgPaintServer *result = g_new (RsvgPaintServer, 1);
diff --git a/rsvg-structure.c b/rsvg-structure.c
index cab21e0..287fada 100644
--- a/rsvg-structure.c
+++ b/rsvg-structure.c
@@ -426,7 +426,7 @@ rsvg_node_use_set_atts (RsvgNode * self, RsvgHandle * ctx, RsvgPropertyBag * att
}
RsvgNode *
-rsvg_new_use ()
+rsvg_new_use (void)
{
RsvgNodeUse *use;
use = g_new (RsvgNodeUse, 1);
@@ -480,7 +480,7 @@ rsvg_new_symbol (void)
}
RsvgNode *
-rsvg_new_defs ()
+rsvg_new_defs (void)
{
RsvgNodeGroup *group;
group = g_new (RsvgNodeGroup, 1);
diff --git a/rsvg-styles.h b/rsvg-styles.h
index 0aa306f..08ec702 100644
--- a/rsvg-styles.h
+++ b/rsvg-styles.h
@@ -240,7 +240,7 @@ struct _RsvgState {
GHashTable *styles;
};
-RsvgState *rsvg_state_new ();
+RsvgState *rsvg_state_new (void);
void rsvg_state_init (RsvgState * state);
void rsvg_state_clone (RsvgState * dst, const RsvgState * src);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]