Mercurial > vim
comparison src/ex_getln.c @ 7856:226ed297307f v7.4.1225
commit https://github.com/vim/vim/commit/d14e00ea67afbaa8cb4a7e6b1eb306da6a2d5adb
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 31 17:30:51 2016 +0100
patch 7.4.1225
Problem: Still a few old style function declarations.
Solution: Make them new style. (Hirohito Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 31 Jan 2016 17:45:04 +0100 |
parents | 10f17a228661 |
children | b6cb94ad97a4 |
comparison
equal
deleted
inserted
replaced
7855:c0eda90fbcda | 7856:226ed297307f |
---|---|
5644 * Returns ':' or '/' or '?' or '@' or '>' or '-' | 5644 * Returns ':' or '/' or '?' or '@' or '>' or '-' |
5645 * Only works when the command line is being edited. | 5645 * Only works when the command line is being edited. |
5646 * Returns NUL when something is wrong. | 5646 * Returns NUL when something is wrong. |
5647 */ | 5647 */ |
5648 int | 5648 int |
5649 get_cmdline_type() | 5649 get_cmdline_type(void) |
5650 { | 5650 { |
5651 struct cmdline_info *p = get_ccline_ptr(); | 5651 struct cmdline_info *p = get_ccline_ptr(); |
5652 | 5652 |
5653 if (p == NULL) | 5653 if (p == NULL) |
5654 return NUL; | 5654 return NUL; |