From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Hicks Date: Thu, 27 Nov 2003 14:50:48 +0000 Subject: Re: sig_atomic_t disappeared from klibc MIME-Version: 1 Content-Type: multipart/mixed; boundary="=-WNMuPEOQSgLV2EE61rbC" Message-Id: List-Id: References: In-Reply-To: To: linux-hotplug@vger.kernel.org --=-WNMuPEOQSgLV2EE61rbC Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-11-27 at 09:19, Olaf Hering wrote: > 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? >=20 > In file included from udevdb.c:39: > tdb/tdb.h:131: parse error before '*' token > tdb/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:typede= f 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:t= ypedef int sig_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 --=20 Martin Hicks || mort@bork.org || PGP/GnuPG: 0x4C7F2BEE --=-WNMuPEOQSgLV2EE61rbC Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/xg9H0ZUZrUx/K+4RArdwAKDTnY7wTc+cZRXHsya1255D7rDIXgCdEcAQ RV49tzGPEYJwJcGbQYzN0MM= =PxVJ -----END PGP SIGNATURE----- --=-WNMuPEOQSgLV2EE61rbC-- ------------------------------------------------------- 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 Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel