svn commit: r227156 - head/usr.bin/cmp

Peter Jeremy peterjeremy at acm.org
Sun Nov 6 09:10:08 UTC 2011


On 2011-Nov-06 08:14:16 +0000, Ed Schouten <ed at FreeBSD.org> wrote:
>Log:
>  Add missing static keywords to cmp(1)
>
>Modified:
>  head/usr.bin/cmp/extern.h
>
>Modified: head/usr.bin/cmp/extern.h
>==============================================================================
>--- head/usr.bin/cmp/extern.h	Sun Nov  6 08:14:09 2011	(r227155)
>+++ head/usr.bin/cmp/extern.h	Sun Nov  6 08:14:16 2011	(r227156)
>@@ -42,4 +42,4 @@ void	c_special(int, const char *, off_t,
> void	diffmsg(const char *, const char *, off_t, off_t);
> void	eofmsg(const char *);
> 
>-extern int lflag, sflag, xflag;
>+extern int lflag, sflag, xflag, zflag;

That's an interesting spelling of "static".  I presume this is a
general cleanup of identifier visibility to prevent unexpected
aliasing - in which case a more general log message may have nicer.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20111106/68574c7c/attachment-0001.pgp


More information about the svn-src-head mailing list