]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
IFC: Colin's __dead2 markers
authorTim Kientzle <kientzle@gmail.com>
Sat, 9 Aug 2008 13:15:31 +0000 (09:15 -0400)
committerTim Kientzle <kientzle@gmail.com>
Sat, 9 Aug 2008 13:15:31 +0000 (09:15 -0400)
SVN-Revision: 180

cpio/cpio.h
libarchive/archive_private.h
tar/bsdtar.h

index 80a89cc899170eca8f3c99303fa7ac214aa947da..a4c17108e2d2a65aa291a0802c3f9062aa30a27a 100644 (file)
@@ -22,7 +22,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * $FreeBSD: src/usr.bin/cpio/cpio.h,v 1.3 2008/07/29 15:23:31 kientzle Exp $
+ * $FreeBSD: src/usr.bin/cpio/cpio.h,v 1.4 2008/08/04 01:25:48 cperciva Exp $
  */
 
 #ifndef CPIO_H_INCLUDED
@@ -85,7 +85,7 @@ struct cpio {
 /* Name of this program; used in error reporting, initialized in main(). */
 const char *cpio_progname;
 
-void   cpio_errc(int _eval, int _code, const char *fmt, ...);
+void   cpio_errc(int _eval, int _code, const char *fmt, ...) __dead2;
 void   cpio_warnc(int _code, const char *fmt, ...);
 
 int    owner_parse(const char *, int *, int *);
index 9ca5893d80a1d5908f19078ab7f3245912ac881f..a859417a6d96997e73ff7d945a62dfea3a2200c1 100644 (file)
@@ -22,7 +22,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * $FreeBSD: src/lib/libarchive/archive_private.h,v 1.29 2007/04/02 00:15:45 kientzle Exp $
+ * $FreeBSD: src/lib/libarchive/archive_private.h,v 1.30 2008/08/04 01:25:48 cperciva Exp $
  */
 
 #ifndef ARCHIVE_PRIVATE_H_INCLUDED
@@ -92,7 +92,7 @@ struct archive {
 void   __archive_check_magic(struct archive *, unsigned int magic,
            unsigned int state, const char *func);
 
-void   __archive_errx(int retvalue, const char *msg);
+void   __archive_errx(int retvalue, const char *msg) __dead2;
 
 #define        err_combine(a,b)        ((a) < (b) ? (a) : (b))
 
index 90c9315de2426ef616e66471feea9cfe8228242e..59f24c20e62eff625b5995d3e99cd1f9bf168074 100644 (file)
@@ -22,7 +22,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * $FreeBSD: src/usr.bin/tar/bsdtar.h,v 1.34 2008/07/05 08:03:08 cperciva Exp $
+ * $FreeBSD: src/usr.bin/tar/bsdtar.h,v 1.35 2008/08/04 01:25:48 cperciva Exp $
  */
 
 #include "bsdtar_platform.h"
@@ -103,7 +103,7 @@ struct bsdtar {
 };
 
 void   bsdtar_errc(struct bsdtar *, int _eval, int _code,
-           const char *fmt, ...);
+           const char *fmt, ...) __dead2;
 void   bsdtar_warnc(struct bsdtar *, int _code, const char *fmt, ...);
 void   cleanup_exclusions(struct bsdtar *);
 void   do_chdir(struct bsdtar *);