Make Emacs compile with clang.

* oldXMenu/XMakeAssoc.c (XMakeAssoc):
* oldXMenu/XDelAssoc.c (XDeleteAssoc): Declare the return type.

Fixes: debbugs:7309
This commit is contained in:
Elias Pipping 2010-10-31 22:01:43 -04:00 committed by Stefan Monnier
parent 46eadc7aee
commit 7632038413
3 changed files with 8 additions and 0 deletions

View 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.

View 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;

View 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;