Make Emacs compile with clang.
authorElias Pipping <pipping.elias@googlemail.com>
Mon, 1 Nov 2010 02:01:43 +0000 (22:01 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 1 Nov 2010 02:01:43 +0000 (22:01 -0400)
* oldXMenu/XMakeAssoc.c (XMakeAssoc):
* oldXMenu/XDelAssoc.c (XDeleteAssoc): Declare the return type.

Fixes: debbugs:7309

oldXMenu/ChangeLog
oldXMenu/XDelAssoc.c
oldXMenu/XMakeAssoc.c

index a7a1b84..9874628 100644 (file)
@@ -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.
index 11e8c35..e0f78b6 100644 (file)
@@ -17,6 +17,7 @@ struct qelem {
  * 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;
index cf039c8..e46674d 100644 (file)
@@ -27,6 +27,7 @@ struct qelem {
  * 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;