summaryrefslogtreecommitdiff
path: root/libarchive/archive_pathmatch.h
diff options
context:
space:
mode:
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>2012-01-18 00:30:38 -0500
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>2012-01-18 00:30:38 -0500
commit718b5cc73c13b74fec294f34115385187cef7890 (patch)
treef56a907ebda988f2e6a6071462c52396b422cef0 /libarchive/archive_pathmatch.h
parent3edcf429772f4b8d56adfd17390c5569495abd1e (diff)
downloadlibarchive-718b5cc73c13b74fec294f34115385187cef7890.tar.gz
Use archive_matching API at both bsdcpio and bsdtar instead of lafe_exclude functions.
- Remove libarchive_fe/matching.[ch], which are no longer needed. - Move cpio/test/test_pathmatch.c into libarchive/test/test_archive_pathmatch.c. SVN-Revision: 4168
Diffstat (limited to 'libarchive/archive_pathmatch.h')
-rw-r--r--libarchive/archive_pathmatch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libarchive/archive_pathmatch.h b/libarchive/archive_pathmatch.h
index 259599ac..e6901774 100644
--- a/libarchive/archive_pathmatch.h
+++ b/libarchive/archive_pathmatch.h
@@ -27,8 +27,10 @@
*/
#ifndef __LIBARCHIVE_BUILD
+#ifndef __LIBARCHIVE_TEST
#error This header is only to be used internally to libarchive.
#endif
+#endif
#ifndef ARCHIVE_PATHMATCH_H
#define ARCHIVE_PATHMATCH_H