Mercurial > illumos > illumos-gate
changeset 13668:9ac1613fc45f
2625 few nits to satisfy lint 12.3
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Garrett D'Amore <garrett@damore.org>
author | Milan Jurik <milan.jurik@xylab.cz> |
---|---|
date | Tue, 17 Apr 2012 09:30:53 -0700 |
parents | 042db6341598 |
children | 779ed9ad03ea |
files | usr/src/cmd/ssh/Makefile.ssh-common usr/src/lib/libsmbfs/smb/lgrep.awk usr/src/uts/common/gssapi/Makefile |
diffstat | 3 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/ssh/Makefile.ssh-common Mon Dec 05 05:09:07 2011 +0000 +++ b/usr/src/cmd/ssh/Makefile.ssh-common Tue Apr 17 09:30:53 2012 -0700 @@ -21,6 +21,8 @@ # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# Copyright 2012 Milan Jurik. All rights reserved. +# # Common definitions for all of usr/src/cmd/ssh subdirs # @@ -74,6 +76,7 @@ -erroff=E_GLOBAL_COULD_BE_STATIC2 \ -erroff=E_CONSTANT_CONDITION \ -erroff=E_EXPR_NULL_EFFECT \ + -erroff=E_STMT_NOT_REACHED \ -errtags=yes ROOTLIBSSH= $(ROOTLIB)/ssh
--- a/usr/src/lib/libsmbfs/smb/lgrep.awk Mon Dec 05 05:09:07 2011 +0000 +++ b/usr/src/lib/libsmbfs/smb/lgrep.awk Tue Apr 17 09:30:53 2012 -0700 @@ -23,6 +23,8 @@ # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# Copyright 2012 Milan Jurik. All rights reserved. +# # This is a "lint tail" that removes all the # uninteresting lines from our lint output. @@ -31,6 +33,7 @@ # There's no lintlib for krb5 yet (CR 6911968) /: Warning: -lkrb5 not found/ { next; } +/: Warning: library -lkrb5 not found/ { next; } # Kill noise from xti.h with _XOPEN_SOURCE vs not. (CR 6911717) /: _xti_.* .E_INCONS_ARG_DECL2./ { next; }
--- a/usr/src/uts/common/gssapi/Makefile Mon Dec 05 05:09:07 2011 +0000 +++ b/usr/src/uts/common/gssapi/Makefile Tue Apr 17 09:30:53 2012 -0700 @@ -23,7 +23,7 @@ # Copyright (c) 1989,1997,1999 by Sun Microsystems, Inc. # All rights reserved. # -#pragma ident "%Z%%M% %I% %E% SMI" +# Copyright 2012 Milan Jurik. All rights reserved. # # uts/common/gssd/Makefile # @@ -64,7 +64,7 @@ gssd_prot.h: gssd.x $(RM) $@ - $(RPCGEN) -M -h gssd.x > $@ + $(RPCGEN) -CM -h gssd.x > $@ gssd_prot.c: gssd.x $(RM) $@