mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-12-28 06:15:20 +07:00
libkmod: make sure to export kmod_log
If we don't have --gc-sections support, linking kmod fails: libkmod/.libs/libkmod-util.a(libkmod-util.o): In function 'underscores': libkmod/libkmod-util.c:117: undefined reference to 'kmod_log' This is because kmod_log is missing the export define, even though it's already listed in the exported symbol list.
This commit is contained in:
parent
46684bc2d9
commit
88a170dbd6
@ -85,9 +85,9 @@ struct kmod_ctx {
|
||||
unsigned long long indexes_stamp[_KMOD_INDEX_MODULES_SIZE];
|
||||
};
|
||||
|
||||
void kmod_log(const struct kmod_ctx *ctx,
|
||||
int priority, const char *file, int line, const char *fn,
|
||||
const char *format, ...)
|
||||
KMOD_EXPORT void kmod_log(const struct kmod_ctx *ctx,
|
||||
int priority, const char *file, int line,
|
||||
const char *fn, const char *format, ...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user