dlopen.3: Change arguments to main() to "void" in EXAMPLE

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-12-05 08:10:40 +01:00
parent b44cf4bcd4
commit 4373ccc072
1 changed files with 1 additions and 1 deletions

View File

@ -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
string such as "libm.so.6") */
int
main(int argc, char **argv)
main(void)
{
void *handle;
double (*cosine)(double);