changeset 111348:a63dbe9548aa

Make Emacs compile with clang. * oldXMenu/XMakeAssoc.c (XMakeAssoc): * oldXMenu/XDelAssoc.c (XDeleteAssoc): Declare the return type.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 31 Oct 2010 22:01:43 -0400
parents d7cb530f5469
children 518ba8ef471b
files oldXMenu/ChangeLog oldXMenu/XDelAssoc.c oldXMenu/XMakeAssoc.c
diffstat 3 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/oldXMenu/ChangeLog	Sat Oct 30 23:33:56 2010 -0400
+++ b/oldXMenu/ChangeLog	Sun Oct 31 22:01:43 2010 -0400
@@ -1,3 +1,9 @@
+2010-11-01  Elias Pipping  <pipping.elias@googlemail.com>
+
+	Make Emacs compile with clang (bug#7309).
+	* XMakeAssoc.c (XMakeAssoc):
+	* XDelAssoc.c (XDeleteAssoc): Declare the return type.
+
 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
 
 	* Version 23.2 released.
--- a/oldXMenu/XDelAssoc.c	Sat Oct 30 23:33:56 2010 -0400
+++ b/oldXMenu/XDelAssoc.c	Sun Oct 31 22:01:43 2010 -0400
@@ -17,6 +17,7 @@
  * an XId.  An association may be removed only once.  Redundant
  * deletes are meaningless (but cause no problems).
  */
+void
 XDeleteAssoc(dpy, table, x_id)
         register Display *dpy;
 	register XAssocTable *table;
--- a/oldXMenu/XMakeAssoc.c	Sat Oct 30 23:33:56 2010 -0400
+++ b/oldXMenu/XMakeAssoc.c	Sun Oct 31 22:01:43 2010 -0400
@@ -27,6 +27,7 @@
  * meaningless (but cause no problems).  The queue in each association
  * bucket is sorted (lowest XId to highest XId).
  */
+void
 XMakeAssoc(dpy, table, x_id, data)
 	register Display *dpy;
 	register XAssocTable *table;