]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.731 v7.3.731
authorBram Moolenaar <Bram@vim.org>
Wed, 28 Nov 2012 14:33:14 +0000 (15:33 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 28 Nov 2012 14:33:14 +0000 (15:33 +0100)
Problem:    Py3Init_vim() is exported uneccessarily.
Solution:   Make it static. (Ken Takata)

src/if_python3.c
src/version.c

index f8dafd2f071875e15252baefcb960c58d99aacfa..4067517acda95383933057587e52e140e8ca37ad 100644 (file)
@@ -657,7 +657,7 @@ static Py_ssize_t RangeEnd;
 static PyObject *globals;
 
 static int PythonIO_Init(void);
-PyMODINIT_FUNC Py3Init_vim(void);
+static PyObject *Py3Init_vim(void);
 
 /******************************************************
  * 1. Python interpreter main program.
@@ -1773,8 +1773,8 @@ PyDoc_STRVAR(vim_module_doc,"vim python interface\n");
 
 static struct PyModuleDef vimmodule;
 
-#ifndef PROTO
-PyMODINIT_FUNC Py3Init_vim(void)
+    static PyObject *
+Py3Init_vim(void)
 {
     PyObject *mod;
     PyObject *tmp;
@@ -1824,7 +1824,6 @@ PyMODINIT_FUNC Py3Init_vim(void)
 
     return mod;
 }
-#endif
 
 /*************************************************************************
  * 4. Utility functions for handling the interface between Vim and Python.
index 8163dbe04d2f84455b43693f3b93badc70c6fa8e..c060e1ae958fe97465af9eab56132f94ef54ac38 100644 (file)
@@ -725,6 +725,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    731,
 /**/
     730,
 /**/