diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-07-09 17:42:46 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-07-09 17:42:46 +0200 |
commit | fb97f28cc23c20721af3b122a8b9c510db0e14b2 (patch) | |
tree | 3b09eb5014655208b8766e1f197c89cb33112bdb /src | |
parent | e032461eede2a80f184f1c08e22a76eaf18a480e (diff) |
updated for version 7.4a.009v7.4a.009
Problem: Compiler warnings for function prototypes.
Solution: Add "void". Move list_features() prototype. (Ken Takata)
Diffstat (limited to 'src')
-rw-r--r-- | src/gui_w48.c | 2 | ||||
-rw-r--r-- | src/if_py_both.h | 4 | ||||
-rw-r--r-- | src/version.c | 5 |
3 files changed, 6 insertions, 5 deletions
diff --git a/src/gui_w48.c b/src/gui_w48.c index 07174ccd18..78aba03be1 100644 --- a/src/gui_w48.c +++ b/src/gui_w48.c @@ -3102,7 +3102,7 @@ logfont2name(LOGFONT lf) * 'guifont' */ static void -update_im_font() +update_im_font(void) { LOGFONT lf_wide; diff --git a/src/if_py_both.h b/src/if_py_both.h index a9fe505a8b..48b7be7beb 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -2100,7 +2100,7 @@ ListNew(PyTypeObject *subtype, list_T *list) } static list_T * -py_list_alloc() +py_list_alloc(void) { list_T *ret; @@ -5857,7 +5857,7 @@ init_structs(void) return -1; static int -init_types() +init_types(void) { PYTYPE_READY(IterType); PYTYPE_READY(BufferType); diff --git a/src/version.c b/src/version.c index 5f8df77317..9b5343e9d6 100644 --- a/src/version.c +++ b/src/version.c @@ -35,8 +35,6 @@ static char *mediumVersion = VIM_VERSION_MEDIUM; char longVersion[sizeof(VIM_VERSION_LONG_DATE) + sizeof(__DATE__) + sizeof(__TIME__) + 3]; -static void list_features __ARGS((void)); - void make_version() { @@ -57,6 +55,7 @@ char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")"; char *longVersion = VIM_VERSION_LONG; #endif +static void list_features __ARGS((void)); static void version_msg __ARGS((char *s)); static char *(features[]) = @@ -729,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 9, +/**/ 8, /**/ 7, |