patch 7.4.1924
Problem: Missing "void" for functions without argument.
Solution: Add "void". (Hirohito Higashi)
diff --git a/src/channel.c b/src/channel.c
index d6ab030..9a98c3a 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -132,7 +132,7 @@
}
int
-ch_log_active()
+ch_log_active(void)
{
return log_fd != NULL;
}
@@ -1462,7 +1462,7 @@
* Write any lines waiting to be written to a channel.
*/
void
-channel_write_any_lines()
+channel_write_any_lines(void)
{
channel_T *channel;
@@ -1653,7 +1653,7 @@
}
/*
- * Consume "len" bytes from the head of "channel"/"part".
+ * Consume "len" bytes from the head of "node".
* Caller must check these bytes are available.
*/
void
@@ -4495,7 +4495,7 @@
* Called when Vim is exiting: kill all jobs that have the "stoponexit" flag.
*/
void
-job_stop_on_exit()
+job_stop_on_exit(void)
{
job_T *job;
@@ -4509,7 +4509,7 @@
* job_check_ended() should be called once in a while.
*/
int
-has_pending_job()
+has_pending_job(void)
{
job_T *job;