Moving applications from <sgtty.h> to <termios.h>
ed at fxq.nl
Mon Mar 19 18:13:10 UTC 2007
* Ed Schouten <ed at fxq.nl> wrote:
> When all the PR's are closed, I guess most people can live without
> COMPAT_43TTY as well. Maybe we should add a permanent #warning to
> <sgtty.h> to warn people that they shouldn't use it and that it depends
> on COMPAT_43TTY?
This should do the trick:
--- src/include/sgtty.h Tue May 24 11:57:10 1994
+++ src/include/sgtty.h Mon Mar 19 19:09:04 2007
@@ -31,7 +31,14 @@
* SUCH DAMAGE.
* @(#)sgtty.h 8.1 (Berkeley) 6/2/93
+ * $FreeBSD$
+#warning "sgtty.h is deprecated and depends on COMPAT_43TTY. Use termios.h instead."
I'd really appreciate it if this patch would make it to the source,
because then we can grep the Ports Tinderbox build logs to see which
ports still include this header file. Thanks!
Ed Schouten <ed at fxq.nl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20070319/2127682c/attachment.pgp
More information about the freebsd-hackers