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 --- include/ar.h | 26 -------------------------- include/ar_.h | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 include/ar.h create mode 100644 include/ar_.h (limited to 'include') diff --git a/include/ar.h b/include/ar.h deleted file mode 100644 index 386fe0456..000000000 --- a/include/ar.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * busybox ar archive data structures - * Licensed under GPLv2 or later, see file LICENSE in this source tree. - */ -#ifndef AR_H -#define AR_H - -PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN - -struct ar_header { - char name[16]; - char date[12]; - char uid[6]; - char gid[6]; - char mode[8]; - char size[10]; - char magic[2]; -}; - -#define AR_HEADER_LEN sizeof(struct ar_header) -#define AR_MAGIC "!" -#define AR_MAGIC_LEN 7 - -POP_SAVED_FUNCTION_VISIBILITY - -#endif diff --git a/include/ar_.h b/include/ar_.h new file mode 100644 index 000000000..386fe0456 --- /dev/null +++ b/include/ar_.h @@ -0,0 +1,26 @@ +/* + * busybox ar archive data structures + * Licensed under GPLv2 or later, see file LICENSE in this source tree. + */ +#ifndef AR_H +#define AR_H + +PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN + +struct ar_header { + char name[16]; + char date[12]; + char uid[6]; + char gid[6]; + char mode[8]; + char size[10]; + char magic[2]; +}; + +#define AR_HEADER_LEN sizeof(struct ar_header) +#define AR_MAGIC "!" +#define AR_MAGIC_LEN 7 + +POP_SAVED_FUNCTION_VISIBILITY + +#endif -- cgit v1.2.3