diff options
author | kientzle <kientzle@FreeBSD.org> | 2009-12-29 05:20:12 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2009-12-29 05:20:12 +0000 |
commit | 7bdc19612bf4a5d7dcdd617e9bad41cbf1d4fe1c (patch) | |
tree | d8620788c8b42717526cb6c62f0e4d4aa16923f6 /lib | |
parent | c2b52cffb792bd1447586fcead68ec527663b573 (diff) | |
download | FreeBSD-src-7bdc19612bf4a5d7dcdd617e9bad41cbf1d4fe1c.zip FreeBSD-src-7bdc19612bf4a5d7dcdd617e9bad41cbf1d4fe1c.tar.gz |
64-bit ino support and discourage bad use of this header.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libarchive/archive_write_private.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libarchive/archive_write_private.h b/lib/libarchive/archive_write_private.h index 0f7215f..f902f08 100644 --- a/lib/libarchive/archive_write_private.h +++ b/lib/libarchive/archive_write_private.h @@ -25,6 +25,10 @@ * $FreeBSD$ */ +#ifndef __LIBARCHIVE_BUILD +#error This header is only to be used internally to libarchive. +#endif + #ifndef ARCHIVE_WRITE_PRIVATE_H_INCLUDED #define ARCHIVE_WRITE_PRIVATE_H_INCLUDED @@ -37,7 +41,7 @@ struct archive_write { /* Dev/ino of the archive being written. */ dev_t skip_file_dev; - ino_t skip_file_ino; + int64_t skip_file_ino; /* Utility: Pointer to a block of nulls. */ const unsigned char *nulls; |