these functions return a const char *, so they should actually return a const char *

SVN revision: 50622
This commit is contained in:
Mike Blumenkrantz 2010-07-28 22:32:39 +00:00
parent 1b41ba0fb1
commit 920c508d86
2 changed files with 4 additions and 4 deletions

View File

@ -237,7 +237,7 @@ EAPI void ecore_con_server_client_limit_set(
int client_limit,
char
reject_excess_clients);
EAPI char * ecore_con_server_ip_get(Ecore_Con_Server *svr);
EAPI const char * ecore_con_server_ip_get(Ecore_Con_Server *svr);
EAPI void ecore_con_server_flush(Ecore_Con_Server *svr);
EAPI int ecore_con_client_send(Ecore_Con_Client *cl,
@ -248,7 +248,7 @@ EAPI void * ecore_con_client_del(Ecore_Con_Client *cl);
EAPI void ecore_con_client_data_set(Ecore_Con_Client *cl,
const void *data);
EAPI void * ecore_con_client_data_get(Ecore_Con_Client *cl);
EAPI char * ecore_con_client_ip_get(Ecore_Con_Client *cl);
EAPI const char * ecore_con_client_ip_get(Ecore_Con_Client *cl);
EAPI void ecore_con_client_flush(Ecore_Con_Client *cl);
EAPI int ecore_con_ssl_available_get(void);

View File

@ -598,7 +598,7 @@ ecore_con_server_client_limit_set(Ecore_Con_Server *svr, int client_limit,
* deletion for the @p svr object. If no IP is known NULL is returned.
* @ingroup Ecore_Con_Server_Group
*/
EAPI char *
EAPI const char *
ecore_con_server_ip_get(Ecore_Con_Server *svr)
{
if (!ECORE_MAGIC_CHECK(svr, ECORE_MAGIC_CON_SERVER))
@ -811,7 +811,7 @@ ecore_con_client_data_get(Ecore_Con_Client *cl)
* deletion for the @p cl object. If no IP is known NULL is returned.
* @ingroup Ecore_Con_Client_Group
*/
EAPI char *
EAPI const char *
ecore_con_client_ip_get(Ecore_Con_Client *cl)
{
if (!ECORE_MAGIC_CHECK(cl, ECORE_MAGIC_CON_CLIENT))