changeset 5535:25325da1d1a8

Suppress the "no prototype" warning for pdump_file_try.
author Stephen J. Turnbull <stephen@xemacs.org>
date Mon, 08 Aug 2011 13:57:18 +0900
parents 68db75473fc6
children bbcf3f979099
files src/ChangeLog src/dumper.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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  <stephen@xemacs.org>
+
+	* dumper.c (pdump_file_try): Add prototype to suppress GCC warning.
+
 2011-06-25  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* console.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)
 {