Remove double declarations.

No need to typedef to void.


SVN revision: 26086
This commit is contained in:
sebastid 2006-09-24 08:16:02 +00:00 committed by sebastid
parent d0be3efc40
commit 5608f9adcf
4 changed files with 5 additions and 25 deletions

View File

@ -64,10 +64,9 @@
extern "C" {
#endif
#ifndef _ECORE_CON_PRIVATE_H
typedef void Ecore_Con_Server; /**< A connection handle */
typedef void Ecore_Con_Client; /**< A connection handle */
typedef void Ecore_Con_Url;
typedef struct _Ecore_Con_Server Ecore_Con_Server; /**< A connection handle */
typedef struct _Ecore_Con_Client Ecore_Con_Client; /**< A connection handle */
typedef struct _Ecore_Con_Url Ecore_Con_Url;
typedef enum _Ecore_Con_Type
{
@ -78,8 +77,6 @@ extern "C" {
ECORE_CON_USE_SSL = 16
} Ecore_Con_Type;
#endif
typedef struct _Ecore_Con_Event_Client_Add Ecore_Con_Event_Client_Add;
typedef struct _Ecore_Con_Event_Client_Del Ecore_Con_Event_Client_Del;
typedef struct _Ecore_Con_Event_Server_Add Ecore_Con_Event_Server_Add;

View File

@ -17,8 +17,8 @@
#include "Ecore.h"
#include "ecore_private.h"
#include "ecore_con_private.h"
#include "Ecore_Con.h"
#include "ecore_con_private.h"
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>

View File

@ -15,23 +15,6 @@
#define READBUFSIZ 65536
typedef struct _Ecore_Con_Client Ecore_Con_Client;
typedef struct _Ecore_Con_Server Ecore_Con_Server;
#ifdef HAVE_CURL
typedef struct _Ecore_Con_Url Ecore_Con_Url;
#else
typedef void Ecore_Con_Url;
#endif
typedef enum _Ecore_Con_Type
{
ECORE_CON_LOCAL_USER,
ECORE_CON_LOCAL_SYSTEM,
ECORE_CON_LOCAL_ABSTRACT,
ECORE_CON_REMOTE_SYSTEM,
ECORE_CON_USE_SSL = 16
} Ecore_Con_Type;
struct _Ecore_Con_Client
{
Ecore_List __list_data;

View File

@ -37,8 +37,8 @@
*/
#include "Ecore.h"
#include "ecore_private.h"
#include "ecore_con_private.h"
#include "Ecore_Con.h"
#include "ecore_con_private.h"
#ifdef HAVE_CURL
static int _ecore_con_url_fd_handler(void *data, Ecore_Fd_Handler *fd_handler);