changeset:   5535:25325da1d1a8
user:        Stephen J. Turnbull <stephen(a)xemacs.org>
date:        Mon Aug 08 13:57:18 2011 +0900
files:       src/ChangeLog src/dumper.c
description:
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  <stephen(a)xemacs.org>
+
+	* dumper.c (pdump_file_try): Add prototype to suppress GCC warning.
+
 2011-06-25  Aidan Kehoe  <kehoea(a)parhasard.net>
 
 	* 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)
 {
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches