Re: [Devel] [PATCH] variables for signal handling must be volatile sig_atomic_t

2010-05-28 Thread Vincent CHAVANIS


Hi,

We have now a compiler warning, Could you please fixes this ?
gwthread_create_real expects void *

long gwthread_create_real(gwthread_func_t *func, const char *funcname,
  void *arg);


refs:

mmsrelay.c: In function 'mmsrelay':
mmsrelay.c:32: attention : passing argument 3 of 'gwthread_create_real' 
discards qualifiers from pointer target type
/usr/local/include/kannel/gwlib/gwthread.h:86: note: expected 'void *' but 
argument is of type 'volatile sig_atomic_t *'


mmsbox.c: In function 'main':
mmsbox.c:784: attention : passing argument 3 of 'gwthread_create_real' discards 
qualifiers from pointer target type
/usr/local/include/kannel/gwlib/gwthread.h:86: note: expected 'void *' but 
argument is of type 'volatile sig_atomic_t *'

thanks


Le 24/05/2010 18:31, SATOH Fumiyasu a écrit :

Hi,

Please apply the attached patch for Mbuni 1.4.0 + CVS 2010-01-25
to be asyn-signal-safe code.

Regards,




___
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel


___
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel


[Devel] [PATCH] variables for signal handling must be volatile sig_atomic_t

2010-05-24 Thread SATOH Fumiyasu
Hi,

Please apply the attached patch for Mbuni 1.4.0 + CVS 2010-01-25
to be asyn-signal-safe code.

Regards,

-- 
-- Name: SATOH Fumiyasu (fumiyas @ osstech co jp)
-- Business Home: http://www.OSSTech.co.jp/
-- Personal Home: http://www.SFO.jp/blog/


mbuni-1.4.0.cvs20100125-volatile-sig_atomic_t.patch
Description: Binary data
___
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel