This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] pthread_atfork() is defined in both unistd.h and pthread.h
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Roland McGrath <roland at redhat dot com>
- Cc: GOTO Masanori <gotom at debian dot or dot jp>, libc-alpha at sources dot redhat dot com
- Date: Wed, 02 Apr 2003 20:22:14 -0800
- Subject: Re: [PATCH] pthread_atfork() is defined in both unistd.h and pthread.h
- Organization: Red Hat, Inc.
- References: <200304030335.h333Zls25534@magilla.sf.frob.com>
-----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-----