[vino] Correct prototype for vino_get_http_server_port()
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vino] Correct prototype for vino_get_http_server_port()
- Date: Fri, 4 Mar 2011 09:22:04 +0000 (UTC)
commit 2c1b4860103e16b4e09924a3992d3ec350c49a7e
Author: David King <amigadave amigadave com>
Date: Thu Mar 3 17:48:06 2011 +0100
Correct prototype for vino_get_http_server_port()
server/vino-dbus-listener.c | 2 +-
server/vino-http.c | 2 +-
server/vino-http.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/server/vino-dbus-listener.c b/server/vino-dbus-listener.c
index afb24e8..3a1b4f4 100644
--- a/server/vino-dbus-listener.c
+++ b/server/vino-dbus-listener.c
@@ -97,7 +97,7 @@ static guint16
vino_dbus_listener_get_port (VinoDBusListener *listener)
{
#ifdef VINO_ENABLE_HTTP_SERVER
- return vino_get_http_server_port (listener->server);
+ return vino_get_http_server_port ();
#else
return vino_server_get_port (listener->server);
#endif
diff --git a/server/vino-http.c b/server/vino-http.c
index 9f14547..17407b0 100644
--- a/server/vino-http.c
+++ b/server/vino-http.c
@@ -844,7 +844,7 @@ vino_http_remove_rfb_port (VinoHTTP *http,
}
int
-vino_get_http_server_port ()
+vino_get_http_server_port (void)
{
return singleton_http->priv->http_port;
}
diff --git a/server/vino-http.h b/server/vino-http.h
index de8a060..cca43d4 100644
--- a/server/vino-http.h
+++ b/server/vino-http.h
@@ -58,7 +58,7 @@ void vino_http_add_rfb_port (VinoHTTP *http,
int rfb_port);
void vino_http_remove_rfb_port (VinoHTTP *http,
int rfb_port);
-int vino_get_http_server_port ();
+int vino_get_http_server_port (void);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]