svn commit: r201086 - head/lib/libarchive

Tim Kientzle kientzle at FreeBSD.org
Mon Dec 28 02:17:54 UTC 2009


Author: kientzle
Date: Mon Dec 28 02:17:53 2009
New Revision: 201086
URL: http://svn.freebsd.org/changeset/base/201086

Log:
  Discourage people from using this header outside of libarchive.

Modified:
  head/lib/libarchive/archive_write_disk_private.h

Modified: head/lib/libarchive/archive_write_disk_private.h
==============================================================================
--- head/lib/libarchive/archive_write_disk_private.h	Mon Dec 28 02:17:15 2009	(r201085)
+++ head/lib/libarchive/archive_write_disk_private.h	Mon Dec 28 02:17:53 2009	(r201086)
@@ -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
 


More information about the svn-src-all mailing list