patch 9.0.1336: functions without arguments are not always declared properly

Problem:    Functions without arguments are not always declared properly.
Solution:   Use "(void)" instead of "()". (Yegappan Lakshmanan, closes #12031)
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index be0e346..2c65bd8 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -1386,7 +1386,7 @@
  * Handle when "did_throw" is set after executing commands.
  */
     void
-handle_did_throw()
+handle_did_throw(void)
 {
     char	*p = NULL;
     msglist_T	*messages = NULL;