* sig_atomic_t disappeared from klibc
@ 2003-11-27 14:19 Olaf Hering
2003-11-27 14:50 ` Martin Hicks
2003-12-02 0:17 ` Greg KH
0 siblings, 2 replies; 3+ messages in thread
From: Olaf Hering @ 2003-11-27 14:19 UTC (permalink / raw)
To: linux-hotplug
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 '*' 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: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;
--
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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sig_atomic_t disappeared from klibc
2003-11-27 14:19 sig_atomic_t disappeared from klibc Olaf Hering
@ 2003-11-27 14:50 ` Martin Hicks
2003-12-02 0:17 ` Greg KH
1 sibling, 0 replies; 3+ messages in thread
From: Martin Hicks @ 2003-11-27 14:50 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 1278 bytes --]
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?
>
> 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: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;
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
--
Martin Hicks || mort@bork.org || PGP/GnuPG: 0x4C7F2BEE
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sig_atomic_t disappeared from klibc
2003-11-27 14:19 sig_atomic_t disappeared from klibc Olaf Hering
2003-11-27 14:50 ` Martin Hicks
@ 2003-12-02 0:17 ` Greg KH
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2003-12-02 0:17 UTC (permalink / raw)
To: linux-hotplug
On Thu, Nov 27, 2003 at 03:19:19PM +0100, 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?
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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-02 0:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-27 14:19 sig_atomic_t disappeared from klibc Olaf Hering
2003-11-27 14:50 ` Martin Hicks
2003-12-02 0:17 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).