]> git.ipfire.org Git - thirdparty/kmod.git/commit
shared: declare DECLARE_(DL,PTR)SYM as static
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 24 May 2025 18:09:06 +0000 (19:09 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 30 May 2025 02:16:00 +0000 (21:16 -0500)
commite3acc663637f0eb3a04d69dc3e8285e2a3e2b903
treeee8fd06d7a0312a8e9ebc328585493a40f9035a9
parent5f55a879ef5ab4e67cf33efa90c03bc89ca97617
shared: declare DECLARE_(DL,PTR)SYM as static

Declare the symbol pointers as static, otherwise the compiler will add
them to the data section instead of bss.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/358
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
shared/util.h