From 623fb91ea95294c80ad9748e8959cb7d86568143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 24 Apr 2013 15:01:20 +0000 Subject: use anonymous structs for iemnet_notif{y,ier} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cherry-picked from git commit 8e12855bcecbb7d086d3e464e1219fc689ad6b46 Author: IOhannes m zmölnig Date: Wed Apr 24 16:56:23 2013 +0200 C sucks.... svn path=/trunk/externals/iem/iemnet/; revision=17102 --- iemnet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iemnet.h') diff --git a/iemnet.h b/iemnet.h index 9ee1394..60cefa5 100644 --- a/iemnet.h +++ b/iemnet.h @@ -152,7 +152,7 @@ int iemnet__receiver_getsize(t_iemnet_receiver*); /** * opaque data type used for a notification server */ -typedef struct _iemnet_notifier t_iemnet_notifier; +#define t_iemnet_notifier struct _iemnet_notifier EXTERN_STRUCT _iemnet_notifier; t_iemnet_notifier*iemnet__notify_create(void); void iemnet__notify_destroy(t_iemnet_notifier*x); @@ -160,7 +160,7 @@ void iemnet__notify_destroy(t_iemnet_notifier*x); /** * opaque data type used for a notification client */ -typedef struct _iemnet_notify t_iemnet_notify; +#define t_iemnet_notify struct _iemnet_notify EXTERN_STRUCT _iemnet_notify; void iemnet__notify_remove(t_iemnet_notify*notify); /** -- cgit v1.2.1