]> git.ipfire.org Git - thirdparty/kmod.git/commit
shared: make scratchbuf_str static
authorYauheni Kaliuta <yauheni.kaliuta@redhat.com>
Wed, 9 Nov 2016 06:52:26 +0000 (08:52 +0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 11 Nov 2016 00:14:27 +0000 (22:14 -0200)
commitb34819bc0e054c7eb8054d763ae9ead4f2c5443a
treed0703a35111a84bd5690faa34607023e528a163e
parent6b77f188969d72254f6bda291f4f2d9fd42f5ecc
shared: make scratchbuf_str static

It fixes linking problem

tools/depmod.o: In function `output_symbols_bin':
depmod.c:(.text.output_symbols_bin+0x135): undefined reference to `scratchbuf_str'

for -O0 build, where gcc doesn't actually inline it.

Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
shared/scratchbuf.h