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=f562efd82303542892ea0af7186093acc2980db5

commit f562efd82303542892ea0af7186093acc2980db5
Author: Guillem Jover <[email protected]>
AuthorDate: Sun Jul 28 14:59:10 2024 +0200

    build: Add declaration for funcs symbols in spacesyms.c
    
    Warned-by: gcc -Wmissing-variable-declarations
---
 scripts/t/Dpkg_Shlibs/spacesyms-c-gen.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/t/Dpkg_Shlibs/spacesyms-c-gen.pl 
b/scripts/t/Dpkg_Shlibs/spacesyms-c-gen.pl
index 48434f45d..2d1f32677 100755
--- a/scripts/t/Dpkg_Shlibs/spacesyms-c-gen.pl
+++ b/scripts/t/Dpkg_Shlibs/spacesyms-c-gen.pl
@@ -30,6 +30,7 @@ foreach my $version (qw(defaultver longver shortver)) {
     }
 }
 
+print "extern void (*funcs[])(void);\n";
 print "void (*funcs[])(void) = {\n";
 foreach my $symbol (@symbols) {
     print "$symbol,\n";

-- 
Dpkg.Org's dpkg

Reply via email to