summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2010-07-29 00:12:27 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2010-07-29 00:12:27 +0000
commit6d6bab553531c93e2b7b515d7ed5100c8374272b (patch)
treeb5af135a9962db24d4ca4b20cbddaebf123a60c6 /legacy/ecore/src/lib
parent920c508d861efb66627e405e9d9ff6410fce184a (diff)
these functions return a const char *, so they should actually return a const char *
SVN revision: 50624
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h4
-rw-r--r--legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h b/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
index 41392ee582..a4c6651ee0 100644
--- a/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
+++ b/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
@@ -301,7 +301,7 @@ EAPI unsigned long long _ecore_ipc_swap_64(unsigned long long v);
301 EAPI void ecore_ipc_server_client_limit_set(Ecore_Ipc_Server *svr, int client_limit, char reject_excess_clients); 301 EAPI void ecore_ipc_server_client_limit_set(Ecore_Ipc_Server *svr, int client_limit, char reject_excess_clients);
302 EAPI void ecore_ipc_server_data_size_max_set(Ecore_Ipc_Server *srv, int size); 302 EAPI void ecore_ipc_server_data_size_max_set(Ecore_Ipc_Server *srv, int size);
303 EAPI int ecore_ipc_server_data_size_max_get(Ecore_Ipc_Server *srv); 303 EAPI int ecore_ipc_server_data_size_max_get(Ecore_Ipc_Server *srv);
304 EAPI char *ecore_ipc_server_ip_get(Ecore_Ipc_Server *svr); 304 EAPI const char *ecore_ipc_server_ip_get(Ecore_Ipc_Server *svr);
305 EAPI void ecore_ipc_server_flush(Ecore_Ipc_Server *svr); 305 EAPI void ecore_ipc_server_flush(Ecore_Ipc_Server *svr);
306 306
307 /* FIXME: this needs to become an ipc message */ 307 /* FIXME: this needs to become an ipc message */
@@ -312,7 +312,7 @@ EAPI unsigned long long _ecore_ipc_swap_64(unsigned long long v);
312 EAPI void *ecore_ipc_client_data_get(Ecore_Ipc_Client *cl); 312 EAPI void *ecore_ipc_client_data_get(Ecore_Ipc_Client *cl);
313 EAPI void ecore_ipc_client_data_size_max_set(Ecore_Ipc_Client *cl, int size); 313 EAPI void ecore_ipc_client_data_size_max_set(Ecore_Ipc_Client *cl, int size);
314 EAPI int ecore_ipc_client_data_size_max_get(Ecore_Ipc_Client *cl); 314 EAPI int ecore_ipc_client_data_size_max_get(Ecore_Ipc_Client *cl);
315 EAPI char *ecore_ipc_client_ip_get(Ecore_Ipc_Client *cl); 315 EAPI const char *ecore_ipc_client_ip_get(Ecore_Ipc_Client *cl);
316 EAPI void ecore_ipc_client_flush(Ecore_Ipc_Client *cl); 316 EAPI void ecore_ipc_client_flush(Ecore_Ipc_Client *cl);
317 317
318 EAPI int ecore_ipc_ssl_available_get(void); 318 EAPI int ecore_ipc_ssl_available_get(void);
diff --git a/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c b/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
index ac700e5e54..b30a3f0202 100644
--- a/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
+++ b/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
@@ -706,7 +706,7 @@ ecore_ipc_server_data_size_max_get(Ecore_Ipc_Server *svr)
706 * deletion for the @p svr object. If no IP is known NULL is returned. 706 * deletion for the @p svr object. If no IP is known NULL is returned.
707 * @ingroup Ecore_Ipc_Server_Group 707 * @ingroup Ecore_Ipc_Server_Group
708 */ 708 */
709EAPI char * 709EAPI const char *
710ecore_ipc_server_ip_get(Ecore_Ipc_Server *svr) 710ecore_ipc_server_ip_get(Ecore_Ipc_Server *svr)
711{ 711{
712 if (!ECORE_MAGIC_CHECK(svr, ECORE_MAGIC_IPC_SERVER)) 712 if (!ECORE_MAGIC_CHECK(svr, ECORE_MAGIC_IPC_SERVER))
@@ -968,7 +968,7 @@ ecore_ipc_client_data_size_max_get(Ecore_Ipc_Client *cl)
968 * deletion for the @p cl object. If no IP is known NULL is returned. 968 * deletion for the @p cl object. If no IP is known NULL is returned.
969 * @ingroup Ecore_Ipc_Client_Group 969 * @ingroup Ecore_Ipc_Client_Group
970 */ 970 */
971EAPI char * 971EAPI const char *
972ecore_ipc_client_ip_get(Ecore_Ipc_Client *cl) 972ecore_ipc_client_ip_get(Ecore_Ipc_Client *cl)
973{ 973{
974 if (!ECORE_MAGIC_CHECK(cl, ECORE_MAGIC_IPC_CLIENT)) 974 if (!ECORE_MAGIC_CHECK(cl, ECORE_MAGIC_IPC_CLIENT))