projects
/
platform
/
upstream
/
kmod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
819f79a
)
Revert "libkmod: make sure to export kmod_log"
author
Lucas De Marchi
<lucas.demarchi@profusion.mobi>
Thu, 10 May 2012 23:58:46 +0000
(20:58 -0300)
committer
Lucas 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
patch
|
blob
|
history
diff --git
a/libkmod/libkmod.c
b/libkmod/libkmod.c
index
74fd9ef
..
36ca629
100644
(file)
--- 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;