comparison src/ops.c @ 9282:9f97a6290c63 v7.4.1924

commit https://github.com/vim/vim/commit/cf089463492fab53b2a5d81517829d22f882f82e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 12 21:18:43 2016 +0200 patch 7.4.1924 Problem: Missing "void" for functions without argument. Solution: Add "void". (Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Sun, 12 Jun 2016 21:30:05 +0200
parents f5d9eb512f8b
children eb52a2670c96
comparison
equal deleted inserted replaced
9281:3e4510f59e49 9282:9f97a6290c63
5817 5817
5818 /* 5818 /*
5819 * Prepare for reading viminfo registers when writing viminfo later. 5819 * Prepare for reading viminfo registers when writing viminfo later.
5820 */ 5820 */
5821 void 5821 void
5822 prepare_viminfo_registers() 5822 prepare_viminfo_registers(void)
5823 { 5823 {
5824 y_read_regs = (yankreg_T *)alloc_clear(NUM_REGISTERS 5824 y_read_regs = (yankreg_T *)alloc_clear(NUM_REGISTERS
5825 * (int)sizeof(yankreg_T)); 5825 * (int)sizeof(yankreg_T));
5826 } 5826 }
5827 5827
5828 void 5828 void
5829 finish_viminfo_registers() 5829 finish_viminfo_registers(void)
5830 { 5830 {
5831 int i; 5831 int i;
5832 int j; 5832 int j;
5833 5833
5834 if (y_read_regs != NULL) 5834 if (y_read_regs != NULL)