diff options
author | kientzle <kientzle@FreeBSD.org> | 2005-09-10 22:58:06 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2005-09-10 22:58:06 +0000 |
commit | 9d88c7f7b7004dffafb8e7e5d1d098ed506b015a (patch) | |
tree | 2f58e10266a64d70146a7581d052bf09013f4457 /lib/libarchive/archive_write_set_format_pax.c | |
parent | 70f9da67193dd6865f9791384929a04b50f95003 (diff) | |
download | FreeBSD-src-9d88c7f7b7004dffafb8e7e5d1d098ed506b015a.zip FreeBSD-src-9d88c7f7b7004dffafb8e7e5d1d098ed506b015a.tar.gz |
Style issue: Don't include <wchar.h> where it is not actually needed.
(wchar_t is defined in stddef.h, and only two files need more than that.)
Portability: Since the wchar requirements are really quite modest,
it's easy to define basic replacements for wcslen, wcscmp, wcscpy,
etc, for use on systems that lack <wchar.h>. In particular, this allows
libarchive to be used on older OpenBSD systems.
Diffstat (limited to 'lib/libarchive/archive_write_set_format_pax.c')
-rw-r--r-- | lib/libarchive/archive_write_set_format_pax.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libarchive/archive_write_set_format_pax.c b/lib/libarchive/archive_write_set_format_pax.c index 60288eb..54e8581 100644 --- a/lib/libarchive/archive_write_set_format_pax.c +++ b/lib/libarchive/archive_write_set_format_pax.c @@ -32,7 +32,6 @@ __FBSDID("$FreeBSD$"); #include <stdlib.h> #include <string.h> #include <unistd.h> -#include <wchar.h> #include "archive.h" #include "archive_entry.h" |