Re: [PATCH][RFC] Delete export of tty.h to userspace.

From: Robert P. J. Day
Date: Wed Jul 18 2007 - 16:35:45 EST


On Wed, 18 Jul 2007, Jiri Slaby wrote:

> Robert P. J. Day napsal(a):
> > Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx>
> >
> > ---
> >
> > given that the entire contents of include/linux/tty.h is contained
> > within an "#ifdef __KERNEL__", it seems pointless to export it to
> > userspace, unless there's some kind of need for that header file to
> > exist in userspace, even if it's empty.
> >
> > a quick grep shows that nothing under /usr/include references any
> > file of the name "tty.h" in any way. thoughts?
>
> If we decide to remove the file, I would rather go through
> deprecation of the file with filing an entry in
> feature-remove-schedule. There still seems to be some users of the
> file.

i'm curious -- how did you determine that?

> With deprecation done with sth. like
> #ifndef __KERNEL__
> #warning Don't include this file from userspace, it's emtpy.
> #endif

yes, that makes sense. i can do that.

rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/