Skip to content

Commit b45215d

Browse files
committed
updated for version 7.4a.009
Problem: Compiler warnings for function prototypes. Solution: Add "void". Move list_features() prototype. (Ken Takata)
1 parent 1656d69 commit b45215d

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

src/gui_w48.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3102,7 +3102,7 @@ logfont2name(LOGFONT lf)
31023102
* 'guifont'
31033103
*/
31043104
static void
3105-
update_im_font()
3105+
update_im_font(void)
31063106
{
31073107
LOGFONT lf_wide;
31083108

src/if_py_both.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2100,7 +2100,7 @@ ListNew(PyTypeObject *subtype, list_T *list)
21002100
}
21012101

21022102
static list_T *
2103-
py_list_alloc()
2103+
py_list_alloc(void)
21042104
{
21052105
list_T *ret;
21062106

@@ -5857,7 +5857,7 @@ init_structs(void)
58575857
return -1;
58585858

58595859
static int
5860-
init_types()
5860+
init_types(void)
58615861
{
58625862
PYTYPE_READY(IterType);
58635863
PYTYPE_READY(BufferType);

src/version.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ static char *mediumVersion = VIM_VERSION_MEDIUM;
3535
char longVersion[sizeof(VIM_VERSION_LONG_DATE) + sizeof(__DATE__)
3636
+ sizeof(__TIME__) + 3];
3737

38-
static void list_features __ARGS((void));
39-
4038
void
4139
make_version()
4240
{
@@ -57,6 +55,7 @@ char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")";
5755
char *longVersion = VIM_VERSION_LONG;
5856
#endif
5957

58+
static void list_features __ARGS((void));
6059
static void version_msg __ARGS((char *s));
6160

6261
static char *(features[]) =
@@ -728,6 +727,8 @@ static char *(features[]) =
728727

729728
static int included_patches[] =
730729
{ /* Add new patch number below this line */
730+
/**/
731+
9,
731732
/**/
732733
8,
733734
/**/

0 commit comments

Comments
 (0)