From: Lucas De Marchi Date: Thu, 10 May 2012 23:58:46 +0000 (-0300) Subject: Revert "libkmod: make sure to export kmod_log" X-Git-Tag: v9~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=719282889a66c72095dc40500c48501a9e47c0f6;p=thirdparty%2Fkmod.git Revert "libkmod: make sure to export kmod_log" This reverts commit 88a170dbd63965b8403b6b40b12ded4f82d89ccd. There's no reason for users of the API to call this method, it's just wrong to export it. The bug that this patch fixed needs to be fixed another way, not exporting this function. --- diff --git a/libkmod/libkmod.c b/libkmod/libkmod.c index 74fd9ef2..36ca629b 100644 --- a/libkmod/libkmod.c +++ b/libkmod/libkmod.c @@ -85,9 +85,9 @@ struct kmod_ctx { unsigned long long indexes_stamp[_KMOD_INDEX_MODULES_SIZE]; }; -KMOD_EXPORT void kmod_log(const struct kmod_ctx *ctx, - int priority, const char *file, int line, - const char *fn, const char *format, ...) +void kmod_log(const struct kmod_ctx *ctx, + int priority, const char *file, int line, const char *fn, + const char *format, ...) { va_list args;