summaryrefslogtreecommitdiff
path: root/src/channel.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-06-12 21:18:43 +0200
committerBram Moolenaar <Bram@vim.org>2016-06-12 21:18:43 +0200
commitcf089463492fab53b2a5d81517829d22f882f82e (patch)
tree75f360006e672d0576d0ad93935cdb95a9cebc4c /src/channel.c
parentae3150ec8d9da4a244acffebea55416946ca23d3 (diff)
downloadvim-git-cf089463492fab53b2a5d81517829d22f882f82e.tar.gz
patch 7.4.1924v7.4.1924
Problem: Missing "void" for functions without argument. Solution: Add "void". (Hirohito Higashi)
Diffstat (limited to 'src/channel.c')
-rw-r--r--src/channel.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/channel.c b/src/channel.c
index d6ab030de..9a98c3a6c 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -132,7 +132,7 @@ ch_logfile(char_u *fname, char_u *opt)
}
int
-ch_log_active()
+ch_log_active(void)
{
return log_fd != NULL;
}
@@ -1462,7 +1462,7 @@ channel_buffer_free(buf_T *buf)
* 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 @@ channel_get_all(channel_T *channel, int part)
}
/*
- * 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 @@ job_set_options(job_T *job, jobopt_T *opt)
* 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_stop_on_exit()
* job_check_ended() should be called once in a while.
*/
int
-has_pending_job()
+has_pending_job(void)
{
job_T *job;