diff --git a/docs/examples/simple.c b/docs/examples/simple.c
index 186d493bd69a0cc86d11ce974db344b4df6f514b..d591f96071cb3de6feab1dd42d797dda85005b40 100644
--- a/docs/examples/simple.c
+++ b/docs/examples/simple.c
@@ -11,7 +11,7 @@
 #include <stdio.h>
 #include <curl/curl.h>
 
-int main(int argc, char **argv)
+int main(void)
 {
   CURL *curl;
   CURLcode res;