Revert "libkmod: make sure to export kmod_log"
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 10 May 2012 23:58:46 +0000 (20:58 -0300)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 10 May 2012 23:58:46 +0000 (20:58 -0300)
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

index 74fd9ef..36ca629 100644 (file)
@@ -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;