To: vim-dev@vim.org Subject: Patch 6.3a.018 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.3a.018 (after 6.3a.017) Problem: Compiler warning for return value of make_connection(). Solution: Use void return type. Files: src/eval.c *** ../vim-6.3a.017/src/eval.c Wed May 12 20:54:21 2004 --- src/eval.c Wed May 12 21:49:03 2004 *************** *** 6599,6608 **** } #if defined(FEAT_CLIENTSERVER) && defined(FEAT_X11) ! static int make_connection __ARGS((void)); static int check_connection __ARGS((void)); ! static int make_connection() { if (X_DISPLAY == NULL && !gui.in_use) --- 6599,6608 ---- } #if defined(FEAT_CLIENTSERVER) && defined(FEAT_X11) ! static void make_connection __ARGS((void)); static int check_connection __ARGS((void)); ! static void make_connection() { if (X_DISPLAY == NULL && !gui.in_use) *** ../vim-6.3a.017/src/version.c Wed May 12 20:54:21 2004 --- src/version.c Wed May 12 21:50:38 2004 *************** *** 643,644 **** --- 643,646 ---- { /* Add new patch number below this line */ + /**/ + 18, /**/ -- ARTHUR: Right! Knights! Forward! ARTHUR leads a charge toward the castle. Various shots of them battling on, despite being hit by a variety of farm animals. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///