summaryrefslogtreecommitdiff
path: root/sw_canvas.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-19 23:23:18 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-05-02 11:24:44 +0200
commitb9996452950db3773604579b2fd5596b5a3d9d9c (patch)
tree7d780bb7b2bdb0b0f06afde7a189beb22e10f235 /sw_canvas.c
parent9a715c8b954e8043a2541fcfd089ca25ed4bbcaf (diff)
use foo(void) instead of foo() in prototypes
In C, the latter isn't a prototype for a function with no arg, but declares a function with an undefined number of args.
Diffstat (limited to 'sw_canvas.c')
-rw-r--r--sw_canvas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw_canvas.c b/sw_canvas.c
index f17bc58..95ec292 100644
--- a/sw_canvas.c
+++ b/sw_canvas.c
@@ -1276,7 +1276,7 @@ SpiceCanvas *canvas_create_for_data(int width, int height, uint32_t format,
);
}
-void sw_canvas_init() //unsafe global function
+void sw_canvas_init(void) //unsafe global function
{
if (!need_init) {
return;