From 719282889a66c72095dc40500c48501a9e47c0f6 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Thu, 10 May 2012 20:58:46 -0300 Subject: [PATCH] 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. --- libkmod/libkmod.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libkmod/libkmod.c b/libkmod/libkmod.c index 74fd9ef..36ca629 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; -- 2.7.4