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_notify.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'iemnet_notify.c') diff --git a/iemnet_notify.c b/iemnet_notify.c index df1c9eb..6bf6a1b 100644 --- a/iemnet_notify.c +++ b/iemnet_notify.c @@ -33,19 +33,19 @@ /* for printf() debugging */ #include -typedef struct _iemnet_notify{ +struct _iemnet_notify { void*data; t_iemnet_notifun fun; struct _iemnet_notifier*parent; struct _iemnet_notify*next; -} t_iemnet_notify; +}; static t_iemnet_notify*pollqueue=NULL; -typedef struct _iemnet_notifier { +struct _iemnet_notifier { int fd[2]; struct _iemnet_notify*nodes; -} t_iemnet_notifier; +}; static t_iemnet_notifier *masternotifier = NULL; -- cgit v1.2.1