[PATCH] Rename pwait for LynxOS

DJ Delorie dj@redhat.com
Tue Aug 17 20:50:00 GMT 2004

> if we detect pwait to be already taken.

You're still missing a key point.  You CANNOT use autodetection to
change the API of libiberty AT ALL.

Thus, we either always rename it, always don't, or always provide
both.  There is no "if we detect it" here.

Add that to the fact that we've been providing pwait() for a while now
and we have a mess to deal with.

Why is libc's pwait() getting pulled in at all?  If libiberty is
providing one, there's no reason for libc's pwait() to be needed.

More information about the Gcc-patches mailing list