diff src/if_py_both.h @ 5166:467efeee8f9e v7.4a.009

updated for version 7.4a.009 Problem: Compiler warnings for function prototypes. Solution: Add "void". Move list_features() prototype. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Tue, 09 Jul 2013 17:42:46 +0200
parents 80bab8b1a30d
children 8edba3805d78
line wrap: on
line diff
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -2100,7 +2100,7 @@ ListNew(PyTypeObject *subtype, list_T *l
 }
 
     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);