This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=f1764c619861b2f13c59459166488ea8fb983e83 commit f1764c619861b2f13c59459166488ea8fb983e83 Author: Guillem Jover <[email protected]> AuthorDate: Fri Feb 24 03:11:41 2023 +0100 libdpkg: Make local variables static Warned-by: clang-16 -Wmissing-variable-declarations --- lib/dpkg/t/c-tarextract.c | 2 +- lib/dpkg/t/t-ehandle.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dpkg/t/c-tarextract.c b/lib/dpkg/t/c-tarextract.c index 882253d27..3f3a3585a 100644 --- a/lib/dpkg/t/c-tarextract.c +++ b/lib/dpkg/t/c-tarextract.c @@ -105,7 +105,7 @@ tar_object(struct tar_archive *tar, struct tar_entry *te) return 0; } -struct tar_operations tar_ops = { +static struct tar_operations tar_ops = { .read = tar_read, .extract_file = tar_object, .link = tar_object, diff --git a/lib/dpkg/t/t-ehandle.c b/lib/dpkg/t/t-ehandle.c index 979d2b741..47ba58e3a 100644 --- a/lib/dpkg/t/t-ehandle.c +++ b/lib/dpkg/t/t-ehandle.c @@ -28,7 +28,7 @@ #include <dpkg/test.h> #include <dpkg/ehandle.h> -jmp_buf global_handler_jump; +static jmp_buf global_handler_jump; static void printer_empty(const char *msg, const void *data) -- Dpkg.Org's dpkg

