From 4373ccc072c8c0549e303ae9f57a63d5431640aa Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 5 Dec 2015 08:10:40 +0100 Subject: [PATCH] dlopen.3: Change arguments to main() to "void" in EXAMPLE Signed-off-by: Michael Kerrisk --- man3/dlopen.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man3/dlopen.3 b/man3/dlopen.3 index 4e0744202..70c4a701d 100644 --- a/man3/dlopen.3 +++ b/man3/dlopen.3 @@ -508,7 +508,7 @@ Load the (glibc) math library, and print the cosine of 2.0: #include /* 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);