mirror of https://github.com/mkerrisk/man-pages
dlopen.3: Change arguments to main() to "void" in EXAMPLE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
b44cf4bcd4
commit
4373ccc072
|
@ -508,7 +508,7 @@ Load the (glibc) math library, and print the cosine of 2.0:
|
||||||
#include <gnu/lib-names.h> /* Defines LIBM_SO (which will be a
|
#include <gnu/lib-names.h> /* Defines LIBM_SO (which will be a
|
||||||
string such as "libm.so.6") */
|
string such as "libm.so.6") */
|
||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
main(void)
|
||||||
{
|
{
|
||||||
void *handle;
|
void *handle;
|
||||||
double (*cosine)(double);
|
double (*cosine)(double);
|
||||||
|
|
Loading…
Reference in New Issue