diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-27 15:21:32 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-27 15:21:32 +0100 |
commit | 43acbce1bb0a33edc67496b220cae629ad95d2d8 (patch) | |
tree | e47403fe874bd7ee5457faeb9b8c196f3e4ea7b4 | |
parent | 187db50d0499aecf4cfd42fb4db0a1bebf61c8cd (diff) | |
download | vim-43acbce1bb0a33edc67496b220cae629ad95d2d8.zip |
patch 7.4.1427
Problem: Trailing comma in enums is not ANSI C.
Solution: Remove the trailing commas.
-rw-r--r-- | src/alloc.h | 2 | ||||
-rw-r--r-- | src/gui_mac.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/alloc.h b/src/alloc.h index 7a992c689..90a987807 100644 --- a/src/alloc.h +++ b/src/alloc.h @@ -17,5 +17,5 @@ typedef enum { aid_qf_namebuf, aid_qf_errmsg, aid_qf_pattern, - aid_last, + aid_last } alloc_id_T; diff --git a/src/gui_mac.c b/src/gui_mac.c index c766ed035..c87456e1f 100644 --- a/src/gui_mac.c +++ b/src/gui_mac.c @@ -6513,7 +6513,7 @@ im_get_status(void) static MenuRef contextMenu = NULL; enum { - kTabContextMenuId = 42, + kTabContextMenuId = 42 }; // the caller has to CFRelease() the returned string diff --git a/src/version.c b/src/version.c index 84ede58ab..359d8df3b 100644 --- a/src/version.c +++ b/src/version.c @@ -749,6 +749,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1427, +/**/ 1426, /**/ 1425, |