summaryrefslogtreecommitdiffstats
path: root/lib/libarchive
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2009-12-28 02:17:53 +0000
committerkientzle <kientzle@FreeBSD.org>2009-12-28 02:17:53 +0000
commitac6b30538075fc5aea25bb1541aeb141ef347af1 (patch)
tree788e9988b81a36a608fb680d48ba168e1004a45a /lib/libarchive
parentc28b62ef5f71713e2143bae79a37de6d834915bc (diff)
downloadFreeBSD-src-ac6b30538075fc5aea25bb1541aeb141ef347af1.zip
FreeBSD-src-ac6b30538075fc5aea25bb1541aeb141ef347af1.tar.gz
Discourage people from using this header outside of libarchive.
Diffstat (limited to 'lib/libarchive')
-rw-r--r--lib/libarchive/archive_write_disk_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libarchive/archive_write_disk_private.h b/lib/libarchive/archive_write_disk_private.h
index 562229b..8ec6391 100644
--- a/lib/libarchive/archive_write_disk_private.h
+++ b/lib/libarchive/archive_write_disk_private.h
@@ -26,6 +26,10 @@
* $FreeBSD$
*/
+#ifndef __LIBARCHIVE_BUILD
+#error This header is only to be used internally to libarchive.
+#endif
+
#ifndef ARCHIVE_WRITE_DISK_PRIVATE_H_INCLUDED
#define ARCHIVE_WRITE_DISK_PRIVATE_H_INCLUDED
OpenPOWER on IntegriCloud