0
0
mirror of https://github.com/libarchive/libarchive.git synced 2026-01-18 17:11:25 +01:00

Fix #endif comments for header guards (#2567)

This commit is contained in:
Graham Percival
2025-04-06 14:16:24 -07:00
committed by GitHub
parent ea9fd828dc
commit b580147278
15 changed files with 15 additions and 16 deletions

View File

@@ -52,4 +52,4 @@ extern int utimes(const char *name, const struct __timeval *times);
#define HAVE_UTIMES 1
#endif
#endif /* CPIO_WINDOWS_H */
#endif /* !CPIO_WINDOWS_H */

View File

@@ -80,4 +80,4 @@ int archive_acl_from_text_l(struct archive_acl *, const char * /* text */,
int archive_acl_from_text_nl(struct archive_acl *, const char * /* text */,
size_t /* size of text */, int /* type */, struct archive_string_conv *);
#endif /* ARCHIVE_ENTRY_PRIVATE_H_INCLUDED */
#endif /* !ARCHIVE_ACL_PRIVATE_H_INCLUDED */

View File

@@ -87,4 +87,4 @@ int _archive_entry_copy_symlink_l(struct archive_entry *,
int _archive_entry_copy_uname_l(struct archive_entry *,
const char *, size_t, struct archive_string_conv *);
#endif /* ARCHIVE_ENTRY_LOCALE_H_INCLUDED */
#endif /* !ARCHIVE_ENTRY_LOCALE_H_INCLUDED */

View File

@@ -195,4 +195,4 @@ struct archive_entry {
int ae_symlink_type;
};
#endif /* ARCHIVE_ENTRY_PRIVATE_H_INCLUDED */
#endif /* !ARCHIVE_ENTRY_PRIVATE_H_INCLUDED */

View File

@@ -116,4 +116,4 @@ struct archive_hmac {
};
extern const struct archive_hmac __archive_hmac;
#endif /* ARCHIVE_HMAC_PRIVATE_H_INCLUDED */
#endif /* !ARCHIVE_HMAC_PRIVATE_H_INCLUDED */

View File

@@ -46,4 +46,4 @@ pack_t pack_native;
(((y) << 12) & 0xfff00000) | \
(((y) << 0) & 0x000000ff)))
#endif /* ARCHIVE_PACK_DEV_H */
#endif /* !ARCHIVE_PACK_DEV_H */

View File

@@ -50,4 +50,4 @@
#define ARCHIVE_ACL_SUPPORT 1
#endif
#endif /* ARCHIVE_PLATFORM_ACL_H_INCLUDED */
#endif /* !ARCHIVE_PLATFORM_ACL_H_INCLUDED */

View File

@@ -42,4 +42,4 @@
#define ARCHIVE_XATTR_SUPPORT 1
#endif
#endif /* ARCHIVE_PLATFORM_XATTR_H_INCLUDED */
#endif /* !ARCHIVE_PLATFORM_XATTR_H_INCLUDED */

View File

@@ -33,4 +33,4 @@
/* Random number generator. */
int archive_random(void *buf, size_t nbytes);
#endif /* ARCHIVE_RANDOM_PRIVATE_H_INCLUDED */
#endif /* !ARCHIVE_RANDOM_PRIVATE_H_INCLUDED */

View File

@@ -110,4 +110,4 @@ struct archive_rb_node *
__archive_rb_tree_iterate(struct archive_rb_tree *,
struct archive_rb_node *, const unsigned int);
#endif /* ARCHIVE_RB_H_*/
#endif /* !ARCHIVE_RB_H_INCLUDED */

View File

@@ -2286,5 +2286,4 @@ static const struct unicode_decomposition_table u_decomposition_table[] = {
{ 0x110AB , 0x110A5 , 0x110BA },
};
#endif /* ARCHIVE_STRING_COMPOSITION_H_INCLUDED */
#endif /* !ARCHIVE_STRING_COMPOSITION_H_INCLUDED */

View File

@@ -315,4 +315,4 @@ typedef struct _FILE_ALLOCATED_RANGE_BUFFER {
# endif
#endif
#endif /* LIBARCHIVE_ARCHIVE_WINDOWS_H_INCLUDED */
#endif /* !LIBARCHIVE_ARCHIVE_WINDOWS_H_INCLUDED */

View File

@@ -43,4 +43,4 @@ int __tar_chdir(const char *);
#endif
#endif /* BSDTAR_WINDOWS_H */
#endif /* !BSDTAR_WINDOWS_H */

View File

@@ -467,4 +467,4 @@ void assertVersion(const char *prog, const char *base);
#include "test_utils.h"
#endif /* TEST_COMMON_H */
#endif /* !TEST_COMMON_H */

View File

@@ -38,4 +38,4 @@ unsigned long bitcrc32(unsigned long, const void*, size_t);
unsigned short i2le(const void*);
unsigned int i4le(const void*);
unsigned long long i8le(const void*);
#endif /* TEST_UTILS_H */
#endif /* !TEST_UTILS_H */