Messages in this thread |  | | | From | Linus Torvalds <> | | Date | Tue, 24 Jul 2012 12:59:40 -0700 | | Subject | Re: [PATCH] posix_types.h: make __NFDBITS match glibc definition |
| |
On Tue, Jul 24, 2012 at 12:41 PM, Josh Boyer <jwboyer@redhat.com> wrote: > > I'd be happy to come up with a patch that drops them, but since they're > in a user visible header file I was concerned somebody might be using > them explicitly from posix_types.h. People do weird crap like not use > glibc all the time.
Yeah, I agree that somebody could possibly use them.
But the odd thing is, we don't actually export anything *useful*. It's not like we export the define for __FD_ISSET() etc, which would be something somebody really wants. No, that kernel header only exports the (unused by the kernel) building blocks for creating __FD_ISSET().
And I suspect (but it must be before even the old bitkeeper tree) that we *used* to implement __FD_ISSET() long ago. We removed it, and nobody used it, so nobody even noticed that we removed it - but left some now unused stuff behind.
Linus
|  |