From bd46f64dcb2cf4f37c2cbfeb808f4e380d9d5931 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sat, 9 May 2020 13:31:33 +0200 Subject: archival: avoid std namespace for local includes Avoid using same include file naming pattern as available in GLIBC. Renamed to match grp_.h et al. Signed-off-by: Joachim Nilsson Signed-off-by: Denys Vlasenko --- archival/ar.c | 2 +- archival/libarchive/get_header_ar.c | 2 +- archival/libarchive/unpack_ar_archive.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'archival') diff --git a/archival/ar.c b/archival/ar.c index f4edeb0..2839d85 100644 --- a/archival/ar.c +++ b/archival/ar.c @@ -60,7 +60,7 @@ #include "libbb.h" #include "bb_archive.h" -#include "ar.h" +#include "ar_.h" #if ENABLE_FEATURE_AR_CREATE /* filter out entries with same names as specified on the command line */ diff --git a/archival/libarchive/get_header_ar.c b/archival/libarchive/get_header_ar.c index b6ecd59..3a19d6f 100644 --- a/archival/libarchive/get_header_ar.c +++ b/archival/libarchive/get_header_ar.c @@ -6,7 +6,7 @@ */ #include "libbb.h" #include "bb_archive.h" -#include "ar.h" +#include "ar_.h" /* WARNING: Clobbers str[len], so fields must be read in reverse order! */ static unsigned read_num(char *str, int base, int len) diff --git a/archival/libarchive/unpack_ar_archive.c b/archival/libarchive/unpack_ar_archive.c index 584c18c..125d424 100644 --- a/archival/libarchive/unpack_ar_archive.c +++ b/archival/libarchive/unpack_ar_archive.c @@ -4,7 +4,7 @@ */ #include "libbb.h" #include "bb_archive.h" -#include "ar.h" +#include "ar_.h" void FAST_FUNC unpack_ar_archive(archive_handle_t *ar_archive) { -- cgit v1.1