This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]