summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-09-17 11:41:55 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2021-09-17 12:57:14 -0700
commitb44c612f5d990d57b074559e01c8e9fc5b43ebbd (patch)
tree41ca4e5d2bbb75d2928194b463a4d1373c2b663f
parent066f7729e0174101f0d1c943d9f69886461ab5b8 (diff)
downloadtar-b44c612f5d990d57b074559e01c8e9fc5b43ebbd.tar.gz
build: update gnulib submodule to latest
* src/common.h (get_directory_entries): Add _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE. Problem found by gcc -Wsuggest-attribute=malloc and current Gnulib.
m---------gnulib0
-rw-r--r--src/common.h3
2 files changed, 2 insertions, 1 deletions
diff --git a/gnulib b/gnulib
-Subproject 783f2967e23e6481941c1bf1e73897c66cb4195
+Subproject bce94c07f9220c0a12d568f06674cb394556c64
diff --git a/src/common.h b/src/common.h
index 43d06190..e64b4152 100644
--- a/src/common.h
+++ b/src/common.h
@@ -499,7 +499,8 @@ enum dump_status
void add_exclusion_tag (const char *name, enum exclusion_tag_type type,
bool (*predicate) (int));
bool cachedir_file_p (int fd);
-char *get_directory_entries (struct tar_stat_info *st);
+char *get_directory_entries (struct tar_stat_info *st)
+ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE;
void create_archive (void);
void pad_archive (off_t size_left);