comparison oldXMenu/XDelAssoc.c @ 109124:5cc91198ffb2

Convert function definitions in oldXMenu to standard C. * oldXMenu/Activate.c: Convert function definitions to standard C. * oldXMenu/AddPane.c: * oldXMenu/AddSel.c: * oldXMenu/ChgPane.c: * oldXMenu/ChgSel.c: * oldXMenu/Create.c: * oldXMenu/DelPane.c: * oldXMenu/DelSel.c: * oldXMenu/Destroy.c: * oldXMenu/Error.c: * oldXMenu/EvHand.c: * oldXMenu/FindPane.c: * oldXMenu/FindSel.c: * oldXMenu/InsPane.c: * oldXMenu/InsSel.c: * oldXMenu/Internal.c: * oldXMenu/Locate.c: * oldXMenu/Post.c: * oldXMenu/Recomp.c: * oldXMenu/SetAEQ.c: * oldXMenu/SetFrz.c: * oldXMenu/SetPane.c: * oldXMenu/SetSel.c: * oldXMenu/X10.h: * oldXMenu/XCrAssoc.c: * oldXMenu/XDelAssoc.c: * oldXMenu/XDestAssoc.c: * oldXMenu/XLookAssoc.c: * oldXMenu/XMakeAssoc.c: * oldXMenu/XMenu.h: * oldXMenu/XMenuInt.h: * oldXMenu/insque.c: Likewise.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 03 Jul 2010 22:57:11 -0700
parents fec5e03aaf59
children 132f2dfd549f
comparison
equal deleted inserted replaced
109123:384b3408c143 109124:5cc91198ffb2
3 #include "copyright.h" 3 #include "copyright.h"
4 4
5 5
6 #include <X11/Xlib.h> 6 #include <X11/Xlib.h>
7 #include "X10.h" 7 #include "X10.h"
8 void emacs_remque();
9 struct qelem { 8 struct qelem {
10 struct qelem *q_forw; 9 struct qelem *q_forw;
11 struct qelem *q_back; 10 struct qelem *q_back;
12 char q_data[1]; 11 char q_data[1];
13 }; 12 };
13 void emacs_remque(struct qelem*);
14 14
15 /* 15 /*
16 * XDeleteAssoc - Delete an association in an XAssocTable keyed on 16 * XDeleteAssoc - Delete an association in an XAssocTable keyed on
17 * an XId. An association may be removed only once. Redundant 17 * an XId. An association may be removed only once. Redundant
18 * deletes are meaningless (but cause no problems). 18 * deletes are meaningless (but cause no problems).
19 */ 19 */
20 XDeleteAssoc(dpy, table, x_id) 20 XDeleteAssoc(register Display *dpy, register XAssocTable *table, register XID x_id)
21 register Display *dpy;
22 register XAssocTable *table;
23 register XID x_id;
24 { 21 {
25 int hash; 22 int hash;
26 register XAssoc *bucket; 23 register XAssoc *bucket;
27 register XAssoc *Entry; 24 register XAssoc *Entry;
28 25