Problem: Missing "void" for functions without argument.
Solution: Add "void". (Hirohito Higashi)
}
int
-ch_log_active()
+ch_log_active(void)
{
return log_fd != NULL;
}
* Write any lines waiting to be written to a channel.
*/
void
-channel_write_any_lines()
+channel_write_any_lines(void)
{
channel_T *channel;
}
/*
- * 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
* 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;
* job_check_ended() should be called once in a while.
*/
int
-has_pending_job()
+has_pending_job(void)
{
job_T *job;
* 'completeopt' value.
*/
void
-completeopt_was_set()
+completeopt_was_set(void)
{
compl_no_insert = FALSE;
compl_no_select = FALSE;
* Return the time in msec until the next timer is due.
*/
long
-check_due_timer()
+check_due_timer(void)
{
timer_T *timer;
long this_due;
* Prepare for reading viminfo registers when writing viminfo later.
*/
void
-prepare_viminfo_registers()
+prepare_viminfo_registers(void)
{
y_read_regs = (yankreg_T *)alloc_clear(NUM_REGISTERS
* (int)sizeof(yankreg_T));
}
void
-finish_viminfo_registers()
+finish_viminfo_registers(void)
{
int i;
int j;
* it belongs. If highlighting was changed a redraw is needed.
*/
void
-redraw_after_callback()
+redraw_after_callback(void)
{
if (State == HITRETURN || State == ASKMORE)
; /* do nothing */
* Clear the mode message.
*/
void
-clearmode()
+clearmode(void)
{
msg_pos_mode();
if (Recording)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1924,
/**/
1923,
/**/