svn commit: r242057 - stable/9/usr.bin/ar

Eitan Adler eadler at FreeBSD.org
Thu Oct 25 03:30:07 UTC 2012


Author: eadler
Date: Thu Oct 25 03:30:06 2012
New Revision: 242057
URL: http://svn.freebsd.org/changeset/base/242057

Log:
  MFC r241827:
  	Mark bsdar_errc as __dead2 to help code analysis tools.
  
  PR:		bin/172636
  Approved by:	cperciva (implicit)

Modified:
  stable/9/usr.bin/ar/ar.h
Directory Properties:
  stable/9/usr.bin/ar/   (props changed)

Modified: stable/9/usr.bin/ar/ar.h
==============================================================================
--- stable/9/usr.bin/ar/ar.h	Thu Oct 25 03:29:09 2012	(r242056)
+++ stable/9/usr.bin/ar/ar.h	Thu Oct 25 03:30:06 2012	(r242057)
@@ -111,7 +111,7 @@ struct bsdar {
 };
 
 void	bsdar_errc(struct bsdar *, int _eval, int _code,
-	    const char *fmt, ...);
+	    const char *fmt, ...) __dead2;
 void	bsdar_warnc(struct bsdar *, int _code, const char *fmt, ...);
 void	ar_mode_d(struct bsdar *bsdar);
 void	ar_mode_m(struct bsdar *bsdar);


More information about the svn-src-stable-9 mailing list