# HG changeset patch # User Stephen J. Turnbull # Date 1312779438 -32400 # Node ID 25325da1d1a840c3738ac2d1f2703cdb0f2c7a30 # Parent 68db75473fc690630ae357430f80879489053c51 Suppress the "no prototype" warning for pdump_file_try. diff -r 68db75473fc6 -r 25325da1d1a8 src/ChangeLog --- a/src/ChangeLog Sun Aug 07 23:22:59 2011 +0200 +++ b/src/ChangeLog Mon Aug 08 13:57:18 2011 +0900 @@ -1,3 +1,7 @@ +2011-08-03 Stephen J. Turnbull + + * dumper.c (pdump_file_try): Add prototype to suppress GCC warning. + 2011-06-25 Aidan Kehoe * console.c: diff -r 68db75473fc6 -r 25325da1d1a8 src/dumper.c --- a/src/dumper.c Sun Aug 07 23:22:59 2011 +0200 +++ b/src/dumper.c Mon Aug 08 13:57:18 2011 +0900 @@ -2595,6 +2595,7 @@ /* This used to be static, but there seems to be a bug in the GCC 4.1.2 optimizer that clobbers exe_path. */ +int pdump_file_try (Wexttext*); int pdump_file_try (Wexttext *exe_path) {