Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2012 03:30:16 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r242058 - stable/8/usr.bin/ar
Message-ID:  <201210250330.q9P3UGGH062122@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210250330.q9P3UGGH062122>