Re: Andreas Jochens in <[EMAIL PROTECTED]> > libTw_u.c: At top level: > libTw_u.c:1595: warning: conflicting types for 'DeleteAllListeners' > libTw_u.c:1595: error: static declaration of 'DeleteAllListeners' follows > non-static declaration > libTw_u.c:1224: error: previous implicit declaration of 'DeleteAllListeners' > was here
> +++ ./libs/libTw/libTw.c 2005-03-02 18:28:06.000000000 +0100 > @@ -1182,6 +1182,8 @@ > return (tw_d)0; > } > > +static void DeleteAllListeners(tlistener); > @@ -1193,7 +1195,6 @@ > * closes a server connection > */ > void Tw_Close(tw_d TwD) { > - static void DeleteAllListeners(tlistener); Hi, I haven't looked at the source, but this fix seems like a workaround for me. Either there is already a global definition of DeleteAllListeners, in which case it should be fixed, or not, in which case moving a local static to global doesn't feel right. (Same for the other file.) Christoph -- [EMAIL PROTECTED] | http://www.df7cb.de/
signature.asc
Description: Digital signature