Date: Mon, 19 Mar 2007 19:13:08 +0100 From: Ed Schouten <ed@fxq.nl> To: hackers@freebsd.org Subject: Re: Moving applications from <sgtty.h> to <termios.h> Message-ID: <20070319181308.GP7449@hoeg.nl> In-Reply-To: <20070317130208.GW7449@hoeg.nl> References: <20070316081428.GU7449@hoeg.nl> <20070317130208.GW7449@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--dKeYJkA19bNVVKdr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Ed Schouten <ed@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$ */ + +#include <sys/cdefs.h> + +#ifdef __CC_SUPPORTS_WARNING +#warning "sgtty.h is deprecated and depends on COMPAT_43TTY. Use termios.= h instead." +#endif =20 #ifndef USE_OLD_TTY #define USE_OLD_TTY %%% 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! --=20 Ed Schouten <ed@fxq.nl> WWW: http://g-rave.nl/ --dKeYJkA19bNVVKdr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFF/tK052SDGA2eCwURAtK1AJ9v75Y+GI7ppmToK+2h2nOF2QjUIwCdFE3A I0V+NMBqqbrSzGjFRawaRys= =8gsI -----END PGP SIGNATURE----- --dKeYJkA19bNVVKdr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070319181308.GP7449>