svn commit: r331269 - head/share/man/man9

Rodney W. Grimes freebsd at pdx.rh.CN85.dnsmgr.net
Wed Mar 21 00:57:25 UTC 2018


> Author: imp
> Date: Tue Mar 20 21:37:33 2018
> New Revision: 331269
> URL: https://svnweb.freebsd.org/changeset/base/331269
> 
> Log:
>   Remove reference to lint. We no longer support it, so exceptions for
>   it are no longer relevant.

I still believe this is putting the cart before the horse:
/usr/src # find . -print0 | xargs -0 grep "ifndef lint" | wc
    1228    2459   48568

> Modified:
>   head/share/man/man9/style.9
> 
> Modified: head/share/man/man9/style.9
> ==============================================================================
> --- head/share/man/man9/style.9	Tue Mar 20 21:36:35 2018	(r331268)
> +++ head/share/man/man9/style.9	Tue Mar 20 21:37:33 2018	(r331269)
> @@ -107,11 +107,7 @@ Only add
>  .Dq Li "From: "
>  in front of foreign VCS IDs if the file is renamed.
>  .Bd -literal
> -#if 0
> -#ifndef lint
> -static char sccsid[] = "@(#)style	1.14 (Berkeley) 4/28/95";
> -#endif /* not lint */
> -#endif
> +/* From: @(#)style	1.14 (Berkeley) 4/28/95 */
>  
>  #include <sys/cdefs.h>
>  __FBSDID("$FreeBSD$");
> @@ -234,10 +230,6 @@ This comment should be used only for (subjectively) lo
>  greater than 20 lines, or where a series of nested
>  .Ic #ifdef 's
>  may be confusing to the reader.
> -Exceptions may be made for cases where code is conditionally not compiled for
> -the purposes of
> -.Xr lint 1 ,
> -even though the uncompiled region may be small.
>  The comment should be separated from the
>  .Ic #endif
>  or
> 
> 

-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the svn-src-all mailing list