sig_atomic_t disappeared from klibc
What should be used for sig_atomic_t in the future? klibc doesnt define it anymore. Maybe all archs have to define a sig_atomic_t?
In file included from udevdb.c:39:tdb/tdb.h:131: parse error before '*' tokentdb/tdb.h:131: warning: function declaration isn't a prototype
make: *** [udevdb.o] Error 1
Bad exit status from /var/tmp/rpm-tmp.80116 (%build) olaf@mandarine:/usr/src/packages/SOURCES> grep -wr sig_atomic_t ../BUILD/udev-007/ ../BUILD/udev-007/klibc/klibc/arch/ia64/include/klibc/archsignal.h:typedef int sig_atomic_t; ../BUILD/udev-007/tdb/tdb.c:static sig_atomic_t *palarm_fired; ../BUILD/udev-007/tdb/tdb.c:void tdb_set_lock_alarm(sig_atomic_t *palarm) ../BUILD/udev-007/tdb/tdb.h:void tdb_set_lock_alarm(sig_atomic_t *palarm); ../BUILD/udev-007/klibc-0.87/klibc/arch/ia64/include/klibc/archsignal.h:typedef int sig_atomic_t;
Signature · 14 lines
USB is for mice, FireWire is for men! sUse lINUX ag, nÜRNBERG ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 4 lines · Olaf Hering
What should be used for
sig_atomic_tin the future? klibc doesnt define it anymore. Maybe all archs have to define asig_atomic_t?
Quoted 11 lines
In file included from udevdb.c:39:
tdb/tdb.h:131: parse error before '*' tokentdb/tdb.h:131: warning: function declaration isn't a prototype
make: *** [udevdb.o] Error 1
Bad exit status from/var/tmp/rpm-tmp.80116(%build) olaf@mandarine:/usr/src/packages/SOURCES> grep -wrsig_atomic_t../BUILD/udev-007/ ../BUILD/udev-007/klibc/klibc/arch/ia64/include/klibc/archsignal.h:typedef intsig_atomic_t; ../BUILD/udev-007/tdb/tdb.c:staticsig_atomic_t*palarm_fired; ../BUILD/udev-007/tdb/tdb.c:voidtdb_set_lock_alarm(sig_atomic_t *palarm)../BUILD/udev-007/tdb/tdb.h:voidtdb_set_lock_alarm(sig_atomic_t *palarm); ../BUILD/udev-007/klibc-0.87/klibc/arch/ia64/include/klibc/archsignal.h:typedef intsig_atomic_t;
I just submitted a patch recently that added it for ia64 (as seen in your grep), which Peter Anvin took. I just assumed that all other arches already defined it somewhere.
Maybe this is something that should be in klibc's main header files, instead of in arch/?
mh
Signature · 1 line
Martin Hicks || [email protected] || PGP/GnuPG: 0x4C7F2BEE
Quoted 4 lines · Olaf Hering
What should be used for
sig_atomic_tin the future? klibc doesnt define it anymore. Maybe all archs have to define asig_atomic_t?
Looks that way. I had to add it to the i386 part of klibc too.
I'd suggest taking it up on the klibc mailing list.
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel