svn commit: r242058 - stable/8/usr.bin/ar

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


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

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

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

Modified: stable/8/usr.bin/ar/ar.h
==============================================================================
--- stable/8/usr.bin/ar/ar.h	Thu Oct 25 03:30:06 2012	(r242057)
+++ stable/8/usr.bin/ar/ar.h	Thu Oct 25 03:30:16 2012	(r242058)
@@ -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-8 mailing list