[PATCH] pthread_atfork() is defined in both unistd.h and pthread.h

Ulrich Drepper drepper@redhat.com
Thu Apr 3 04:22:00 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roland McGrath wrote:
> I don't think we care to make -Wsystem-headers especially easier.  Using
> that option is asking for trouble.  Since the declaration is repeated in
> the source, I'd rather have both seen by the compiler so any mismatch that
> crept in would be caught.

The unistd.h definitions should probably be removed.  It's not necessary
anymore with POSIX 2001 out for some time now.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+i7b22ijCOnn/RHQRAiJHAJ0VtcElk0DM7Z6ImEjt/g4/sU/UUACeKUa/
l+SHg9ne+mc18koJpEQul7A=
=MBHq
-----END PGP SIGNATURE-----



More information about the Libc-alpha mailing list