To: vim_dev@googlegroups.com Subject: Patch 8.2.3387 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3387 Problem: Compiler warning for non-static function. Solution: Make the function static. (Dominique Pellé, closes #8816) Files: src/strings.c *** ../vim-8.2.3386/src/strings.c 2021-08-29 12:36:43.301865015 +0200 --- src/strings.c 2021-08-30 19:55:59.637677511 +0200 *************** *** 127,133 **** /* * Return TRUE when 'shell' has "fish" in the tail. */ ! int fish_like_shell(void) { return (strstr((char *)gettail(p_sh), "fish") != NULL); --- 127,133 ---- /* * Return TRUE when 'shell' has "fish" in the tail. */ ! static int fish_like_shell(void) { return (strstr((char *)gettail(p_sh), "fish") != NULL); *** ../vim-8.2.3386/src/version.c 2021-08-29 22:12:50.230287220 +0200 --- src/version.c 2021-08-30 19:57:20.857465666 +0200 *************** *** 757,758 **** --- 757,760 ---- { /* Add new patch number below this line */ + /**/ + 3387, /**/ -- Eye have a spelling checker, it came with my PC; It plainly marks four my revue mistakes I cannot sea. I've run this poem threw it, I'm sure your please to no, It's letter perfect in it's weigh, my checker tolled me sew! /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///