libkmod: Move finit_module() definition to missing.h
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 9 Apr 2013 07:16:57 +0000 (04:16 -0300)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 9 Apr 2013 07:38:27 +0000 (04:38 -0300)
commit55112d19f7067dff89b1481d5bd8cc49139c4ecb
tree3e9ba480cbc0c22d4773d9e71a365ac403b1180d
parent1407064e730732dd20952671077007dd4133f7db
libkmod: Move finit_module() definition to missing.h

Check for finit_module() and don't use our own static inline function if
there's such function in libc (or another lib).

In testsuite we need to unconditionally define HAVE_FINIT_MODULE because
we want to override this function, and never use the static inline one
in missing.h
configure.ac
libkmod/libkmod-module.c
libkmod/missing.h
testsuite/init_module.c